Get the updater to display a no update found message.

This commit is contained in:
robotbrainify
2013-12-24 16:00:07 -05:00
parent 027aafc3c1
commit b1ec7841e0
4 changed files with 53 additions and 31 deletions

View File

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