From 819c97592e26f1276e3614268e35c62af2fc9bbe Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 22 Dec 2015 09:07:34 +0100 Subject: 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 --- vcl/source/window/layout.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'vcl') 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")) -- cgit