]> git.sur5r.net Git - minitube/blobdiff - lib/updater/src/updater.cpp
New upstream version 3.8
[minitube] / lib / updater / src / updater.cpp
index 0f63bf59a06b464a9bd71f12c465f827c7a02acf..3efa41c9fe16392868f0eb920a6fce337b6f26ac 100644 (file)
@@ -124,6 +124,8 @@ void Updater::setStatus(Status v) {
 
 void Updater::onUserAction() {
     if (status == Updater::Status::UpdateDownloaded) {
+        // tell Installer we want the app to be restarted
+        setRelaunchAfterInstall(true);
         // update will be installed on quit
         qApp->quit();
         return;