summaryrefslogtreecommitdiffstats
path: root/demos/qtdemo
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-04 09:44:08 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-09-04 09:48:31 (GMT)
commit41b52eb4ad4f19221577059ce1447121e757b112 (patch)
tree013f877cc91ddbdd372e24d8069a26b76481fb76 /demos/qtdemo
parent818ddd1409c3fb9fdb3ff3ff2f2f8c933c6f66cf (diff)
downloadQt-41b52eb4ad4f19221577059ce1447121e757b112.zip
Qt-41b52eb4ad4f19221577059ce1447121e757b112.tar.gz
Qt-41b52eb4ad4f19221577059ce1447121e757b112.tar.bz2
qtdemo now accept the -verbose option as specified in the help output.
Reviewed-by: trustme
Diffstat (limited to 'demos/qtdemo')
-rw-r--r--demos/qtdemo/colors.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/demos/qtdemo/colors.cpp b/demos/qtdemo/colors.cpp
index e63417c..455ba0c 100644
--- a/demos/qtdemo/colors.cpp
+++ b/demos/qtdemo/colors.cpp
@@ -274,6 +274,8 @@ void Colors::parseArgs(int argc, char *argv[])
+ "[-low] [-ticker-letters<int>] [-ticker-speed<float>] [-no-ticker-morph] "
+ "[-ticker-morph-speed<float>] [-ticker-text<string>]");
exit(0);
+ } else if (s == "-verbose") {
+ // this option was already handled above
} else{
QMessageBox::warning(0, "QtDemo", QString("Unrecognized argument:\n") + s);
exit(0);