summaryrefslogtreecommitdiffstats
path: root/demos/qtdemo
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-09-02 10:58:32 +1000
committerAlan Alpert <alan.alpert@nokia.com>2010-09-02 10:58:32 +1000
commit661e237be622a5f7886cee7c06f9daa73d4a07d7 (patch)
tree87f699e407114b3020b1c9f7faaf386fbed27dd8 /demos/qtdemo
parentbf37dc89a67d48cc176df7faaa903bf01762053f (diff)
Remove extra strings
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 4ae9ca1bb3..fe3c5aafbf 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
}