mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-25 20:48:52 +03:00
Connect quit
This commit is contained in:
parent
a0a35c8786
commit
f7fd43e3f2
1 changed files with 2 additions and 0 deletions
|
@ -286,6 +286,8 @@ MainWindow::registerQmlTypes()
|
||||||
engine()->addImageProvider(QStringLiteral("blurhash"), new BlurhashProvider());
|
engine()->addImageProvider(QStringLiteral("blurhash"), new BlurhashProvider());
|
||||||
if (JdenticonProvider::isAvailable())
|
if (JdenticonProvider::isAvailable())
|
||||||
engine()->addImageProvider(QStringLiteral("jdenticon"), new JdenticonProvider());
|
engine()->addImageProvider(QStringLiteral("jdenticon"), new JdenticonProvider());
|
||||||
|
|
||||||
|
QObject::connect(engine(), &QQmlEngine::quit, &QGuiApplication::quit);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue