From a505adf26c8919e91de8e611fac6f209760574f5 Mon Sep 17 00:00:00 2001 From: fourtf Date: Sun, 24 Jun 2018 14:03:26 +0200 Subject: [PATCH] disabled openGuiMessageQueue for debug mode --- src/application.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/application.cpp b/src/application.cpp index b9cdd15bd..5ea82f3a0 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -89,16 +89,6 @@ void Application::initialize() // 2. Initialize/load classes this->settings->initialize(); -#ifdef Q_OS_WIN -#ifdef QT_DEBUG -#ifdef C_DEBUG_NM - this->nativeMessaging->registerHost(); -#endif -#else - this->nativeMessaging->registerHost(); -#endif -#endif - this->settings->load(); this->commands->load(); this->logging->initialize(); @@ -118,7 +108,17 @@ void Application::initialize() // XXX this->settings->updateWordTypeMask(); +#ifdef Q_OS_WIN +#ifdef QT_DEBUG +#ifdef C_DEBUG_NM + this->nativeMessaging->registerHost(); this->nativeMessaging->openGuiMessageQueue(); +#endif +#else + this->nativeMessaging->registerHost(); + this->nativeMessaging->openGuiMessageQueue(); +#endif +#endif this->twitch.pubsub->sig.whisper.sent.connect([](const auto &msg) { debug::Log("WHISPER SENT LOL"); //