From 329cad993be6281856f349b554eb808a00a8b79f Mon Sep 17 00:00:00 2001 From: Tom Titcombe <t.j.titcombe@gmail.com> Date: Tue, 8 Jan 2019 09:24:18 +0000 Subject: [PATCH] Fix typo in command Refs #0 --- MantidPlot/src/ApplicationWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MantidPlot/src/ApplicationWindow.cpp b/MantidPlot/src/ApplicationWindow.cpp index 8b1a090afc0..e52f2fbc801 100644 --- a/MantidPlot/src/ApplicationWindow.cpp +++ b/MantidPlot/src/ApplicationWindow.cpp @@ -11648,7 +11648,7 @@ void ApplicationWindow::patchPaletteForLinux(QPalette &palette) const { bool ApplicationWindow::isUnityDesktop() const { return QString::fromLocal8Bit(qgetenv("XDG_SESSION_DESKTOP")) == "Unity" || QString::fromLocal8Bit(qgetenv("XDG_CURRENT_DESKTOP")) == "Unity" || - QString::fromLocal8Bit(ggetenv("XDG_SESSION_DESKTOP")) == + QString::fromLocal8Bit(qgetenv("XDG_SESSION_DESKTOP")) == "ubuntu:GNOME" || QString::fromLocal8Bit(qgetenv("XDG_CURRENT_DESKTOP")) == "ubuntu:GNOME"; -- GitLab