[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - vcl/qt5
Alexander Volkov (via logerrit)
logerrit at kemper.freedesktop.org
Mon Apr 20 06:04:14 UTC 2020
vcl/qt5/Qt5FilePicker.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 0f025b702a1964c429ab670c9b8aee8636d209b2
Author: Alexander Volkov <avolkov at astralinux.ru>
AuthorDate: Thu Apr 9 17:08:03 2020 +0300
Commit: Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Mon Apr 20 08:03:31 2020 +0200
Qt5 implement DELETE_ITEMS action in file picker
It is used to clear "Version" listbox before adding new items.
Change-Id: I4cb9557c8f56d80c1dfac68dc2b5b45b5c69c2f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91982
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow at fbihome.de>
(cherry picked from commit 3a22be0178b950ab3d21eadab2bc34e7ea93eec8)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/92174
Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>
diff --git a/vcl/qt5/Qt5FilePicker.cxx b/vcl/qt5/Qt5FilePicker.cxx
index d37c28b33c11..d648a5d94b75 100644
--- a/vcl/qt5/Qt5FilePicker.cxx
+++ b/vcl/qt5/Qt5FilePicker.cxx
@@ -431,6 +431,11 @@ void Qt5FilePicker::handleSetListValue(QComboBox* pWidget, sal_Int16 nControlAct
pWidget->removeItem(nPos);
break;
}
+ case ControlActions::DELETE_ITEMS:
+ {
+ pWidget->clear();
+ break;
+ }
case ControlActions::SET_SELECT_ITEM:
{
sal_Int32 nPos = 0;
More information about the Libreoffice-commits
mailing list