# HG changeset patch # User Andre Heinecke # Date 1458656063 -3600 # Node ID 5c256892042ca09b90e20b7f525ae8da29214071 # Parent 8b4c49c9245134cf8b6dfc6ac084342ad6fc67e5 Always silence debug output by default diff -r 8b4c49c92451 -r 5c256892042c src/main.cpp --- a/src/main.cpp Tue Mar 22 10:39:19 2016 +0100 +++ b/src/main.cpp Tue Mar 22 15:14:23 2016 +0100 @@ -38,11 +38,7 @@ // Q_IMPORT_PLUGIN(QXcbIntegrationPlugin) #endif -#ifdef IS_TAG_BUILD bool g_debug = false; -#else -bool g_debug = true; -#endif QtMessageHandler g_default_msg_handler = NULL; @@ -124,11 +120,7 @@ parser.process(app); -#ifdef IS_TAG_BUILD - g_debug = parser.isSet(debugOpt); -#else - g_debug = true; -#endif + g_debug = parser.isSet("debug"); g_default_msg_handler = qInstallMessageHandler(filterDebugOutput);