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

This commit is contained in:
Petr Mrázek
2014-01-05 16:53:51 +01:00
10 changed files with 172 additions and 37 deletions

View File

@ -23,6 +23,8 @@
#include <QJsonArray>
#include <QJsonValue>
#include <settingsobject.h>
#define API_VERSION 0
#define CHANLIST_FORMAT 0
@ -69,9 +71,8 @@ void UpdateChecker::checkForUpdate(bool notifyNoUpdate)
m_updateChecking = true;
// Get the URL for the channel we're using.
// TODO: Allow user to select channels. For now, we'll just use the current channel.
QString updateChannel = m_currentChannel;
// Get the channel we're checking.
QString updateChannel = MMC->settings()->get("UpdateChannel").toString();
// Find the desired channel within the channel list and get its repo URL. If if cannot be
// found, error.

View File

@ -54,7 +54,7 @@ public:
QList<ChannelListEntry> getChannelList() const;
/*!
* Returns true if the channel list is empty.
* Returns false if the channel list is empty.
*/
bool hasChannels() const;