From a5b48d713a8cb29d711eb5a0192bb9c35608f0c9 Mon Sep 17 00:00:00 2001 From: fourtf Date: Fri, 22 Jun 2018 11:33:01 +0200 Subject: [PATCH] disabled registering of the native messaging host if in debug mode --- src/application.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/application.cpp b/src/application.cpp index dbbf7842..b9cdd15b 100644 --- a/src/application.cpp +++ b/src/application.cpp @@ -90,7 +90,13 @@ void Application::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();