summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Koenig <tobias.koenig@kdab.com>2015-02-13 13:42:28 +0000
committerTobias Koenig <tobias.koenig@kdab.com>2015-02-20 18:04:41 +0000
commit04ec8134e8b001ec2c853a75b581a9d5387c85e6 (patch)
treea8e41d0269c0451abb98a505abf31d9b1e083bcf
parentb6184286cd1feeaef1e1aa2adaca3628c9ede1e0 (diff)
Haiku: Use 'unknown' as QSysInfo::productType()
There are no actual products of Haiku, so using 'unknown' (the default) is fine, otherwise the file platform selector would be '+unix/+haiku/+haiku' instead of '+unix/+haiku'. Change-Id: Id7653098e20374885a50c09e2aaac9e6fcfc6efb Reviewed-by: Augustin Cavalier <waddlesplash@gmail.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
-rw-r--r--src/corelib/global/qglobal.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index 06f9e9080e..712e84185c 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -2529,9 +2529,6 @@ QString QSysInfo::productType()
#elif defined(Q_OS_DARWIN)
return QStringLiteral("darwin");
-#elif defined(Q_OS_HAIKU)
- return QStringLiteral("haiku");
-
#elif defined(USE_ETC_OS_RELEASE) // Q_OS_UNIX
QUnixOSVersion unixOsVersion;
readEtcOsRelease(unixOsVersion);