From 147487f22989a1781148a2a6cba1c70414b02abc Mon Sep 17 00:00:00 2001 From: Keshav Bhatt Date: Sat, 9 Apr 2022 02:27:48 +0530 Subject: fix: debug in debug mode --- src/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') 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); -- cgit v1.2.3