diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-01-29 17:38:59 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-01-29 17:38:59 +0100 |
commit | f7fd43e3f24d5b26fad2112670e3c44bbf255359 (patch) | |
tree | 9f36f84322ca553e655a7c5fefd050c76ab2fe6a /src | |
parent | keep the RegisterPage name (diff) | |
download | nheko-f7fd43e3f24d5b26fad2112670e3c44bbf255359.tar.xz |
Connect quit
Diffstat (limited to 'src')
-rw-r--r-- | src/MainWindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 1c915fba..ab2de2ba 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -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 |