Merge branch 'develop' of https://github.com/robotbrain/MultiMC5 into develop

This commit is contained in:
Petr Mrázek committed 2013-12-25 01:19:38 +01:00
commit 5a2df0d41a
4 files changed
+53 -31

No files matched your search

+4 -1
View File
@@ -681,7 +681,10 @@ void MainWindow::on_actionConfig_Folder_triggered()
void MainWindow::on_actionCheckUpdate_triggered()
{
auto updater = MMC->updateChecker();
updater->checkForUpdate();
connect(updater.get(), &UpdateChecker::noUpdateFound, [this](){
CustomMessageBox::selectable(this, "No update found.", "No MultiMC update was found!\nYou are using the latest version.")->exec();
});
updater->checkForUpdate(true);
}
void MainWindow::on_actionSettings_triggered()