summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-12-22 09:07:34 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-12-22 09:08:43 +0100
commit819c97592e26f1276e3614268e35c62af2fc9bbe (patch)
treeab2b047f1b59f905ef5ac0062b4b0589a1fcdb66 /vcl
parent4770de1bc4418d0f1c82ffae151cd6b09f839a26 (diff)
vcl: kde5 native button order is the same as kde4
With this, the following scenario works again: 1) Open Writer. 2) Type some characters. 3) ^W, right arrow, enter means "don't save". Change-Id: Icd3418f97346738475b6e5222c661fff7a01414b
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/layout.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index e4efb2667270..33183cf9a692 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -674,6 +674,7 @@ static int getButtonPriority(const OString &rType)
const OUString &rEnv = Application::GetDesktopEnvironment();
if (rEnv.equalsIgnoreAsciiCase("windows") ||
+ rEnv.equalsIgnoreAsciiCase("kde5") ||
rEnv.equalsIgnoreAsciiCase("kde4") ||
rEnv.equalsIgnoreAsciiCase("tde") ||
rEnv.equalsIgnoreAsciiCase("kde"))