summaryrefslogtreecommitdiffstats
path: root/tests/tst_UpdateChecker.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-04-05 22:58:47 +0200
committerPetr Mrázek <peterix@gmail.com>2014-04-06 00:33:33 +0200
commit42e305bb9d1babef9bb66a8d376289e8aebed671 (patch)
tree7cad2b473abc703d3c9f29daee7f5560d6e22e76 /tests/tst_UpdateChecker.cpp
parentad9d082f5713df72fc18de957547b7ad47a60e46 (diff)
downloadMultiMC-42e305bb9d1babef9bb66a8d376289e8aebed671.tar
MultiMC-42e305bb9d1babef9bb66a8d376289e8aebed671.tar.gz
MultiMC-42e305bb9d1babef9bb66a8d376289e8aebed671.tar.lz
MultiMC-42e305bb9d1babef9bb66a8d376289e8aebed671.tar.xz
MultiMC-42e305bb9d1babef9bb66a8d376289e8aebed671.zip
Get rid of long rebuilds because of minor cmake config changes
Diffstat (limited to 'tests/tst_UpdateChecker.cpp')
-rw-r--r--tests/tst_UpdateChecker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/tst_UpdateChecker.cpp b/tests/tst_UpdateChecker.cpp
index 0dcb242f..40232afe 100644
--- a/tests/tst_UpdateChecker.cpp
+++ b/tests/tst_UpdateChecker.cpp
@@ -4,6 +4,7 @@
#include "depends/settings/settingsobject.h"
#include "depends/settings/setting.h"
+#include "Config.h"
#include "TestUtil.h"
#include "logic/updater/UpdateChecker.h"
@@ -154,7 +155,7 @@ slots:
QFETCH(QList<QVariant>, result);
MMC->settings()->set("UpdateChannel", channel);
- MMC->m_version.build = currentBuild;
+ BuildConfig.VERSION_BUILD = currentBuild;
UpdateChecker checker;
checker.setChannelListUrl(channelUrl);