mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Remove unnecessary qml engine shutdown workaround
This commit is contained in:
parent
f7fd43e3f2
commit
c5c892b873
1 changed files with 0 additions and 6 deletions
|
@ -159,12 +159,6 @@ ChatPage::ChatPage(QSharedPointer<UserSettings> userSettings, QObject *parent)
|
||||||
MainWindow::instance()->requestActivate();
|
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(
|
connect(
|
||||||
this,
|
this,
|
||||||
&ChatPage::initializeViews,
|
&ChatPage::initializeViews,
|
||||||
|
|
Loading…
Reference in a new issue