diff options
-rw-r--r-- | libresourceqt/src/resource-engine.cpp | 2 | ||||
-rw-r--r-- | resourceqt-client/commandlineparser.cpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libresourceqt/src/resource-engine.cpp b/libresourceqt/src/resource-engine.cpp index 20cd157..b9d9ee2 100644 --- a/libresourceqt/src/resource-engine.cpp +++ b/libresourceqt/src/resource-engine.cpp @@ -230,7 +230,7 @@ void ResourceEngine::receivedAdvice(resmsg_notify_t *message) { uint32_t allResources = allResourcesToBitmask(resourceSet); qDebug("ResourceEngine(%d) - %s: have: %02x got %02x", identifier, __FUNCTION__, allResources, message->resrc); - emit resourcesBecameAvailable(message->resrc); + emit resourcesBecameAvailable(message->resrc); } bool ResourceEngine::connectToManager() diff --git a/resourceqt-client/commandlineparser.cpp b/resourceqt-client/commandlineparser.cpp index 2e1a7ce..f169801 100644 --- a/resourceqt-client/commandlineparser.cpp +++ b/resourceqt-client/commandlineparser.cpp @@ -22,6 +22,8 @@ USA. #include <QDebug> #include "commandlineparser.h" +extern bool verbose; + QHash<QString, ResourcePolicy::ResourceType> CommandLineParser::resourceValues; CommandLineParser::CommandLineParser(): @@ -77,6 +79,9 @@ bool CommandLineParser::parseArguments() case 'u': allowUnkownResourceClass = true; break; + case 'v': + verbose = true; + break; case 'h': default: usage(); |