summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-01 03:35:20 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-01 03:35:20 +0300
commit20fa850e4bb4ef30508e3027ba342882aacd0611 (patch)
treefb9fe8553466966d7441e56d20ba7c0d842df88d
parentc99a751167dbbb4189707b8d5ff5872e9db5020a (diff)
downloadmanaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.tar.gz
manaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.tar.bz2
manaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.tar.xz
manaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.zip
Add own update message for Android.
-rw-r--r--src/gui/updaterwindow.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/updaterwindow.cpp b/src/gui/updaterwindow.cpp
index 1dc403d25..454508e05 100644
--- a/src/gui/updaterwindow.cpp
+++ b/src/gui/updaterwindow.cpp
@@ -365,15 +365,21 @@ void UpdaterWindow::loadPatch()
}
if (version > CHECK_VERSION)
{
+#if defined(ANDROID)
+ mBrowserBox->addRow("", true);
+ mBrowserBox->addRow("##1You can download from Google Play", true);
+ mBrowserBox->addRow("##1ManaPlus updated.", true);
+#elif defined(WIN32)
mBrowserBox->addRow("", true);
-#ifdef WIN32
mBrowserBox->addRow(" ##1[@@http://download.evolonline.org/"
"manaplus/download/manaplus-win32.exe|download here@@]", true);
-#endif
+#else
+ mBrowserBox->addRow("", true);
mBrowserBox->addRow(" ##1@@http://manaplus.evolonline.org/|"
"http://manaplus.evolonline.org/@@", true);
mBrowserBox->addRow("##1You can download it from", true);
mBrowserBox->addRow("##1ManaPlus updated.", true);
+#endif
}
else
{