From 9ec0e3cdd4cf5f962cc6d02f16a62d7eaf94b375 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 27 Oct 2014 01:12:38 +0530 Subject: [PATCH] ... --- src/calibre/gui2/progress_indicator/QProgressIndicator.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp b/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp index 5e2b5f881b..b028a19f22 100644 --- a/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp +++ b/src/calibre/gui2/progress_indicator/QProgressIndicator.cpp @@ -135,7 +135,8 @@ static inline QByteArray detectDesktopEnvironment() { const QByteArray xdgCurrentDesktop = qgetenv("XDG_CURRENT_DESKTOP"); if (!xdgCurrentDesktop.isEmpty()) - return xdgCurrentDesktop.toUpper(); // KDE, GNOME, UNITY, LXDE, MATE, XFCE... + // See http://standards.freedesktop.org/menu-spec/latest/apb.html + return xdgCurrentDesktop.toUpper(); // Classic fallbacks if (!qEnvironmentVariableIsEmpty("KDE_FULL_SESSION"))