diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-01 03:35:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-01 03:35:20 +0300 |
commit | 20fa850e4bb4ef30508e3027ba342882aacd0611 (patch) | |
tree | fb9fe8553466966d7441e56d20ba7c0d842df88d /src/gui/updaterwindow.cpp | |
parent | c99a751167dbbb4189707b8d5ff5872e9db5020a (diff) | |
download | manaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.tar.gz manaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.tar.bz2 manaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.tar.xz manaplus-20fa850e4bb4ef30508e3027ba342882aacd0611.zip |
Add own update message for Android.
Diffstat (limited to 'src/gui/updaterwindow.cpp')
-rw-r--r-- | src/gui/updaterwindow.cpp | 10 |
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 { |