From 37a8735c96d15ac24aa1b3a597b9006c71995404 Mon Sep 17 00:00:00 2001 From: Uyanide Date: Fri, 27 Feb 2026 19:45:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20QueuedConnection=20to=20Q?= =?UTF-8?q?Application::quit()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WallReel/main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/WallReel/main.cpp b/WallReel/main.cpp index f556c96..5076808 100644 --- a/WallReel/main.cpp +++ b/WallReel/main.cpp @@ -1,3 +1,4 @@ +#include #include #include @@ -95,13 +96,15 @@ int main(int argc, char* argv[]) { Service, &Service::Manager::selectCompleted, &a, - []() { QCoreApplication::quit(); }); + &QApplication::quit, + Qt::QueuedConnection); } QObject::connect( Service, &Service::Manager::cancelCompleted, &a, - []() { QCoreApplication::quit(); }); + &QApplication::quit, + Qt::QueuedConnection); if (config->getActionConfig().restoreOnClose) { QObject::connect( &a,