diff --git a/src/main.cpp b/src/main.cpp index 00b6df9..5dd50a1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,6 +34,7 @@ int main( int argc, char *argv[] ) if(!updater.waitForStarted()) qDebug() << "Failed to start updater."; qDebug() << updater.errorString(); + updater.waitForFinished(); qDebug() << program; exit(0); }