From 7b3eaac6cf2cd268acab97be158f206974b63770 Mon Sep 17 00:00:00 2001 From: ts-korhonen Date: Sun, 6 Feb 2022 11:48:56 +0200 Subject: [PATCH] qt: don't load discord dll if only starting settings --- src/qt/qt_main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/qt/qt_main.cpp b/src/qt/qt_main.cpp index c35fd4fc9..a6a999fa1 100644 --- a/src/qt/qt_main.cpp +++ b/src/qt/qt_main.cpp @@ -135,7 +135,6 @@ int main(int argc, char* argv[]) { return 6; } - discord_load(); if (settings_only) { Settings settings; @@ -146,6 +145,9 @@ int main(int argc, char* argv[]) { } return 0; } + + discord_load(); + main_window = new MainWindow(); main_window->show(); app.installEventFilter(main_window);