summaryrefslogtreecommitdiffstats
path: root/demos/qtdemo
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-09-02 00:58:32 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2010-09-03 03:09:11 (GMT)
commitbf8b492a9bba664a0437d82b5c423297fd308204 (patch)
tree71b6b827be7d05085bd08b55b02bbfdeac1b9c52 /demos/qtdemo
parent7bb6f5414558ed24839a533a6b22104fd700f7d4 (diff)
downloadQt-bf8b492a9bba664a0437d82b5c423297fd308204.zip
Qt-bf8b492a9bba664a0437d82b5c423297fd308204.tar.gz
Qt-bf8b492a9bba664a0437d82b5c423297fd308204.tar.bz2
Remove extra strings
(cherry picked from commit 661e237be622a5f7886cee7c06f9daa73d4a07d7)
Diffstat (limited to 'demos/qtdemo')
-rw-r--r--demos/qtdemo/menumanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/demos/qtdemo/menumanager.cpp b/demos/qtdemo/menumanager.cpp
index f98c2fc..79fb1ec 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
}