summaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-09-02 00:58:32 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-09-02 00:58:32 (GMT)
commit661e237be622a5f7886cee7c06f9daa73d4a07d7 (patch)
tree87f699e407114b3020b1c9f7faaf386fbed27dd8 /demos
parentbf37dc89a67d48cc176df7faaa903bf01762053f (diff)
downloadQt-661e237be622a5f7886cee7c06f9daa73d4a07d7.zip
Qt-661e237be622a5f7886cee7c06f9daa73d4a07d7.tar.gz
Qt-661e237be622a5f7886cee7c06f9daa73d4a07d7.tar.bz2
Remove extra strings
Diffstat (limited to 'demos')
-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 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
}