aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
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);