summaryrefslogtreecommitdiffstats
path: root/gui/MainWindow.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2013-12-25 01:19:38 +0100
committerPetr Mrázek <peterix@gmail.com>2013-12-25 01:19:38 +0100
commit5a2df0d41a1570fcb9b36de2ae654415bee1d209 (patch)
treeda14620780a5d9b5b6b013b27ca40913cdc3803f /gui/MainWindow.cpp
parent2d144631e7b6fd608d9a1f9cb966ce3e68fe95a0 (diff)
parentb1ec7841e04f2a60f54895e1646bc33486fd9fbf (diff)
downloadMultiMC-5a2df0d41a1570fcb9b36de2ae654415bee1d209.tar
MultiMC-5a2df0d41a1570fcb9b36de2ae654415bee1d209.tar.gz
MultiMC-5a2df0d41a1570fcb9b36de2ae654415bee1d209.tar.lz
MultiMC-5a2df0d41a1570fcb9b36de2ae654415bee1d209.tar.xz
MultiMC-5a2df0d41a1570fcb9b36de2ae654415bee1d209.zip
Merge branch 'develop' of https://github.com/robotbrain/MultiMC5 into develop
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r--gui/MainWindow.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp
index 4fb4489f..006f5b8e 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -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()