diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-09-02 00:58:32 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-09-02 00:58:32 (GMT) |
commit | 661e237be622a5f7886cee7c06f9daa73d4a07d7 (patch) | |
tree | 87f699e407114b3020b1c9f7faaf386fbed27dd8 /demos | |
parent | bf37dc89a67d48cc176df7faaa903bf01762053f (diff) | |
download | Qt-661e237be622a5f7886cee7c06f9daa73d4a07d7.zip Qt-661e237be622a5f7886cee7c06f9daa73d4a07d7.tar.gz Qt-661e237be622a5f7886cee7c06f9daa73d4a07d7.tar.bz2 |
Remove extra strings
Diffstat (limited to 'demos')
-rw-r--r-- | demos/qtdemo/menumanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/qtdemo/menumanager.cpp b/demos/qtdemo/menumanager.cpp index 4ae9ca1..fe3c5aa 100644 --- a/demos/qtdemo/menumanager.cpp +++ b/demos/qtdemo/menumanager.cpp @@ -384,9 +384,7 @@ void MenuManager::launchQmlExample(const QString &name) qmlRoot->setProperty("show", QVariant(true)); qmlRoot->setProperty("qmlFile", QUrl::fromLocalFile(file.fileName())); #else - QMessageBox::critical(0, tr("Failed to launch the example"), - tr("This application was built without the QtDeclarative module, and therefore declarative examples have been disabled."), - QMessageBox::Cancel); + exampleError(QProcess::UnknownError); #endif } |