disabled openGuiMessageQueue for debug mode

This commit is contained in:
fourtf 2018-06-24 14:03:26 +02:00
parent 9a719dcd05
commit a505adf26c

View file

@ -89,16 +89,6 @@ void Application::initialize()
// 2. Initialize/load classes // 2. Initialize/load classes
this->settings->initialize(); 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->settings->load();
this->commands->load(); this->commands->load();
this->logging->initialize(); this->logging->initialize();
@ -118,7 +108,17 @@ void Application::initialize()
// XXX // XXX
this->settings->updateWordTypeMask(); this->settings->updateWordTypeMask();
#ifdef Q_OS_WIN
#ifdef QT_DEBUG
#ifdef C_DEBUG_NM
this->nativeMessaging->registerHost();
this->nativeMessaging->openGuiMessageQueue(); this->nativeMessaging->openGuiMessageQueue();
#endif
#else
this->nativeMessaging->registerHost();
this->nativeMessaging->openGuiMessageQueue();
#endif
#endif
this->twitch.pubsub->sig.whisper.sent.connect([](const auto &msg) { this->twitch.pubsub->sig.whisper.sent.connect([](const auto &msg) {
debug::Log("WHISPER SENT LOL"); // debug::Log("WHISPER SENT LOL"); //