summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qdesktopunixservices.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/platform/unix/qdesktopunixservices.cpp')
-rw-r--r--src/gui/platform/unix/qdesktopunixservices.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/platform/unix/qdesktopunixservices.cpp b/src/gui/platform/unix/qdesktopunixservices.cpp
index 19edd95d14a..7cce10b5507 100644
--- a/src/gui/platform/unix/qdesktopunixservices.cpp
+++ b/src/gui/platform/unix/qdesktopunixservices.cpp
@@ -373,7 +373,7 @@ private:
QDesktopUnixServices::QDesktopUnixServices()
{
- if (desktopEnvironment() == QByteArrayLiteral("UNKNOWN"))
+ if (detectDesktopEnvironment() == QByteArrayLiteral("UNKNOWN"))
return;
#if QT_CONFIG(dbus)