diff options
author | 2022-04-09 02:27:48 +0530 | |
---|---|---|
committer | 2022-04-09 02:27:48 +0530 | |
commit | 147487f22989a1781148a2a6cba1c70414b02abc (patch) | |
tree | 10e1281b832d9e8a9f442d8caccfb98eff4eba1e /src | |
parent | 8962c8bbd5ff8213be7f440e559d5e66475dcf24 (diff) | |
download | whatsie-147487f22989a1781148a2a6cba1c70414b02abc.tar.gz whatsie-147487f22989a1781148a2a6cba1c70414b02abc.zip |
fix: debug in debug mode
Diffstat (limited to 'src')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3d74935..b162833 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,8 +34,9 @@ int main(int argc, char *argv[]) { #ifdef QT_DEBUG qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--remote-debugging-port=9421"); -#endif +#else qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-logging --single-process"); +#endif QApplication app(argc, argv); app.setQuitOnLastWindowClosed(false); |