From c5c892b873963cca5f725e3d28312dc096b68253 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Sat, 29 Jan 2022 17:41:14 +0100 Subject: [PATCH] Remove unnecessary qml engine shutdown workaround --- src/ChatPage.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp index fe6b08eb..808489d7 100644 --- a/src/ChatPage.cpp +++ b/src/ChatPage.cpp @@ -159,12 +159,6 @@ ChatPage::ChatPage(QSharedPointer userSettings, QObject *parent) MainWindow::instance()->requestActivate(); }); - connect(QCoreApplication::instance(), &QCoreApplication::aboutToQuit, this, [this]() { - // ensure the qml context is shutdown before we destroy all other singletons - // Otherwise Qml will try to access the room list or settings, after they have been - // destroyed - }); - connect( this, &ChatPage::initializeViews,