summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-01-29 17:41:14 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-01-29 17:41:14 +0100
commitc5c892b873963cca5f725e3d28312dc096b68253 (patch)
tree4dd6c4de9eea55e69b7c958b0bed373e94e07e18 /src
parentConnect quit (diff)
downloadnheko-c5c892b873963cca5f725e3d28312dc096b68253.tar.xz
Remove unnecessary qml engine shutdown workaround
Diffstat (limited to 'src')
-rw-r--r--src/ChatPage.cpp6
1 files changed, 0 insertions, 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> 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,