From 4f0d4c9387eb1d73f96b9072128cff2038f6c61a Mon Sep 17 00:00:00 2001 From: Tomáš Chvátal Date: Wed, 8 Jan 2020 13:25:05 +0100 Subject: tdf#129879 Fix wrong order of buttons Change-Id: I0cb135c5b8298fd7c5579673d0eaff7068a03842 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86425 Reviewed-by: Adolfo Jayme Barrientos Tested-by: Jenkins --- vcl/source/window/layout.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/source/window/layout.cxx') diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx index fbada38f6e48..be8313c12f00 100644 --- a/vcl/source/window/layout.cxx +++ b/vcl/source/window/layout.cxx @@ -722,8 +722,8 @@ static int getButtonPriority(const OString &rType) const OUString &rEnv = Application::GetDesktopEnvironment(); if (rEnv.equalsIgnoreAsciiCase("windows") || - rEnv.equalsIgnoreAsciiCase("tde") || - rEnv.startsWithIgnoreAsciiCase("kde")) + rEnv.equalsIgnoreAsciiCase("lxqt") || + rEnv.startsWithIgnoreAsciiCase("plasma")) { pOrder = &aSaveDiscardCancel[0]; } -- cgit v1.2.3