[Libreoffice-commits] core.git: vcl/source
Tomáš Chvátal (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jan 8 14:35:55 UTC 2020
vcl/source/window/layout.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4f0d4c9387eb1d73f96b9072128cff2038f6c61a
Author: Tomáš Chvátal <tchvatal at suse.com>
AuthorDate: Wed Jan 8 13:25:05 2020 +0100
Commit: Tomáš Chvátal <tchvatal at suse.com>
CommitDate: Wed Jan 8 15:35:20 2020 +0100
tdf#129879 Fix wrong order of buttons
Change-Id: I0cb135c5b8298fd7c5579673d0eaff7068a03842
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86425
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
Tested-by: Jenkins
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];
}
More information about the Libreoffice-commits
mailing list