diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-04-02 12:55:33 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-04-02 12:55:33 -0700 |
commit | 4ee94167f167fd9dcce1331c1d69ef8e36174ad7 (patch) | |
tree | a0f6a89c41e8da02e6fcca6f212958191bb9704c /qt-ui | |
parent | ede6a38bcf38bbff56a8e41cb38f69c1532d0697 (diff) | |
download | subsurface-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.cpp | 2 |
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 |