[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - vcl/source

Tomáš Chvátal (via logerrit) logerrit at kemper.freedesktop.org
Wed Jan 8 14:41:12 UTC 2020


 vcl/source/window/layout.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 95d7d13205c05c2114a6d3bc2c4538246b22f3e0
Author:     Tomáš Chvátal <tchvatal at suse.com>
AuthorDate: Wed Jan 8 13:25:05 2020 +0100
Commit:     Adolfo Jayme Barrientos <fitojb at ubuntu.com>
CommitDate: Wed Jan 8 15:40:41 2020 +0100

    tdf#129879 Fix wrong order of buttons
    
    Change-Id: I0cb135c5b8298fd7c5579673d0eaff7068a03842
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86426
    Tested-by: Jenkins
    Reviewed-by: Tomáš Chvátal <tchvatal at suse.com>
    Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>

diff --git a/vcl/source/window/layout.cxx b/vcl/source/window/layout.cxx
index 981ac621aa60..9c5a36304a21 100644
--- a/vcl/source/window/layout.cxx
+++ b/vcl/source/window/layout.cxx
@@ -718,8 +718,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