From cd3f7b97ddced403fe2d6eb9091a8903ea186128 Mon Sep 17 00:00:00 2001 From: Wolf Bergenheim Date: Thu, 9 Sep 2010 10:10:35 +0300 Subject: Turned off verbosity and fixed -d compatibility --- resourceqt-client/commandlineparser.cpp | 2 +- resourceqt-client/resourceqt-client.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'resourceqt-client') diff --git a/resourceqt-client/commandlineparser.cpp b/resourceqt-client/commandlineparser.cpp index 86e5d53..feae6ee 100644 --- a/resourceqt-client/commandlineparser.cpp +++ b/resourceqt-client/commandlineparser.cpp @@ -36,10 +36,10 @@ bool CommandLineParser::parseArguments() if ((*ci).at(0) == QChar('-')) { switch ((*ci).at(1).toAscii()) { case 'd': + ++ci; case 'm': case 's': case 't': - output << "The switch '" << (*ci).at(1) << "' is only present for compatibility reasons." << endl; break; case 'f': if (!parseModeValues(*(++ci))) { diff --git a/resourceqt-client/resourceqt-client.cpp b/resourceqt-client/resourceqt-client.cpp index cb8e7cc..f5b534e 100644 --- a/resourceqt-client/resourceqt-client.cpp +++ b/resourceqt-client/resourceqt-client.cpp @@ -4,7 +4,7 @@ #include "client.h" #include "commandlineparser.h" -bool verbose = true; +bool verbose = false; void debugOutput(QtMsgType type, const char *msg) { -- cgit v1.2.3