summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-02 12:55:33 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-04-02 12:55:33 -0700
commit4ee94167f167fd9dcce1331c1d69ef8e36174ad7 (patch)
treea0f6a89c41e8da02e6fcca6f212958191bb9704c /qt-ui
parentede6a38bcf38bbff56a8e41cb38f69c1532d0697 (diff)
downloadsubsurface-4ee94167f167fd9dcce1331c1d69ef8e36174ad7.tar.gz
Update manager: report Linux separately
I know the plan is to do much better OS detection - but at least Linux in general should be called out and not be treated as "unknown". Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/updatemanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/updatemanager.cpp b/qt-ui/updatemanager.cpp
index e721f914c..bcf58088d 100644
--- a/qt-ui/updatemanager.cpp
+++ b/qt-ui/updatemanager.cpp
@@ -19,6 +19,8 @@ void UpdateManager::checkForUpdates()
os = "win";
#elif defined(Q_OS_MAC)
os = "osx";
+#elif defined(Q_OS_LINUX)
+ os = "linux";
#else
os = "unknown";
#endif