diff --git a/mainwindow.cpp b/mainwindow.cpp index 33df457..cb264c4 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -49,7 +49,7 @@ void MainWindow::setUpdateInfo(QList updateInfo) if (count > 0) { installEnabled = true; - } + } else { continue; } QTreeWidgetItem *installItem; switch (i) {