Remove unnecessary qml engine shutdown workaround

pull/893/head
Nicolas Werner 3 years ago
parent f7fd43e3f2
commit c5c892b873
No known key found for this signature in database
GPG Key ID: C8D75E610773F2D9
  1. 6
      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,

Loading…
Cancel
Save