summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/updatemanager.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-01 07:26:47 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-12-01 13:29:13 -0800
commitafbeccca2149abab2816a5345dc25f16c4af71ba (patch)
tree72a1c0da0c7ab9d49cff688762528d5d63378983 /desktop-widgets/updatemanager.cpp
parent1b7ee876ace8c195c91b9cb22686dfea0be0bdfc (diff)
downloadsubsurface-afbeccca2149abab2816a5345dc25f16c4af71ba.tar.gz
desktop-widgets isn't built for mobile
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/updatemanager.cpp')
-rw-r--r--desktop-widgets/updatemanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/updatemanager.cpp b/desktop-widgets/updatemanager.cpp
index f742fbcaf..f853f3853 100644
--- a/desktop-widgets/updatemanager.cpp
+++ b/desktop-widgets/updatemanager.cpp
@@ -101,7 +101,6 @@ void UpdateManager::requestReceived()
msgbox.setIcon(QMessageBox::Warning);
}
}
-#ifndef SUBSURFACE_MOBILE
if (haveNewVersion || !isAutomaticCheck) {
msgbox.setWindowTitle(msgTitle);
msgbox.setWindowIcon(QIcon(":subsurface-icon"));
@@ -126,5 +125,4 @@ void UpdateManager::requestReceived()
update_settings->setDontCheckForUpdates(response.exec() != QMessageBox::Accepted);
}
}
-#endif
}