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

This commit is contained in:
Petr Mrázek
2013-12-25 01:19:38 +01:00
4 changed files with 53 additions and 31 deletions

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()