summaryrefslogtreecommitdiffstats
path: root/logic/updater/UpdateChecker.h
diff options
context:
space:
mode:
authorrobotbrainify <robotbrainify@gmail.com>2013-12-24 16:00:07 -0500
committerrobotbrainify <robotbrainify@gmail.com>2013-12-24 16:00:07 -0500
commitb1ec7841e04f2a60f54895e1646bc33486fd9fbf (patch)
treed8b5f21485b997cc4ab5b2251ce22f92277ca0e6 /logic/updater/UpdateChecker.h
parent027aafc3c1fc5e78c91ee439cd38562387f7ed9f (diff)
downloadMultiMC-b1ec7841e04f2a60f54895e1646bc33486fd9fbf.tar
MultiMC-b1ec7841e04f2a60f54895e1646bc33486fd9fbf.tar.gz
MultiMC-b1ec7841e04f2a60f54895e1646bc33486fd9fbf.tar.lz
MultiMC-b1ec7841e04f2a60f54895e1646bc33486fd9fbf.tar.xz
MultiMC-b1ec7841e04f2a60f54895e1646bc33486fd9fbf.zip
Get the updater to display a no update found message.
Diffstat (limited to 'logic/updater/UpdateChecker.h')
-rw-r--r--logic/updater/UpdateChecker.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/logic/updater/UpdateChecker.h b/logic/updater/UpdateChecker.h
index 5b7efc05..a47e8903 100644
--- a/logic/updater/UpdateChecker.h
+++ b/logic/updater/UpdateChecker.h
@@ -25,7 +25,7 @@ class UpdateChecker : public QObject
public:
UpdateChecker();
- void checkForUpdate();
+ void checkForUpdate(bool notifyNoUpdate);
void setCurrentChannel(const QString &channel) { m_currentChannel = channel; }
void setChannelListUrl(const QString &url) { m_channelListUrl = url; }
@@ -65,8 +65,10 @@ signals:
//! Signal emitted when the channel list finishes loading or fails to load.
void channelListLoaded();
+ void noUpdateFound();
+
private slots:
- void updateCheckFinished();
+ void updateCheckFinished(bool notifyNoUpdate);
void updateCheckFailed();
void chanListDownloadFinished();