[Libreoffice-commits] core.git: vcl/unx

Milian Wolff milian.wolff at kdab.com
Thu Jan 25 21:35:26 UTC 2018


 vcl/unx/gtk3_kde5/kde5_filepicker.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 91ab6b4feda09e2ded45f716d8f283ced06971ad
Author: Milian Wolff <milian.wolff at kdab.com>
Date:   Thu Jan 25 14:05:37 2018 +0100

    Properly restore size of KDE5 file picker dialog
    
    The event filter we installed prevented the show event from reaching
    the KDEPlatformFileDialogHelper::show method. This prevented the
    dialog from being restored to the size chosen by the user previously.
    
    Change-Id: I7af457f19f59d27bd104f8f70d9f4767da6641ee
    Reviewed-on: https://gerrit.libreoffice.org/48591
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
index 9b3f21db92e9..d774ebc2834e 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker.cxx
@@ -235,7 +235,6 @@ bool KDE5FilePicker::eventFilter(QObject* o, QEvent* e)
             KWindowSystem::setMainWindow(w, _winId);
             if (auto* fileWidget = w->findChild<KFileWidget*>({}, Qt::FindDirectChildrenOnly))
                 fileWidget->setCustomWidget(_extraControls);
-            return false;
         }
     }
     return QObject::eventFilter(o, e);


More information about the Libreoffice-commits mailing list