summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-01-29 17:38:59 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2022-01-29 17:38:59 +0100
commitf7fd43e3f24d5b26fad2112670e3c44bbf255359 (patch)
tree9f36f84322ca553e655a7c5fefd050c76ab2fe6a /src
parentkeep the RegisterPage name (diff)
downloadnheko-f7fd43e3f24d5b26fad2112670e3c44bbf255359.tar.xz
Connect quit
Diffstat (limited to 'src')
-rw-r--r--src/MainWindow.cpp2
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