Connect quit

This commit is contained in:
Nicolas Werner 2022-01-29 17:38:59 +01:00
parent a0a35c8786
commit f7fd43e3f2
No known key found for this signature in database
GPG key ID: C8D75E610773F2D9

View file

@ -286,6 +286,8 @@ MainWindow::registerQmlTypes()
engine()->addImageProvider(QStringLiteral("blurhash"), new BlurhashProvider());
if (JdenticonProvider::isAvailable())
engine()->addImageProvider(QStringLiteral("jdenticon"), new JdenticonProvider());
QObject::connect(engine(), &QQmlEngine::quit, &QGuiApplication::quit);
}
void