summaryrefslogtreecommitdiff
path: root/vcl/unx/kde4
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-07-01 11:49:02 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2016-07-01 12:15:08 +0000
commit5198c98337882319fae176135dcce1ad375ed2f6 (patch)
tree30bdd43f51b6f8ec5d28bf1b555388d055937d88 /vcl/unx/kde4
parent6373f9ec6d056ffaef4a209b20a6ec7bab51c7b3 (diff)
Add new open dialog type: Play and link
This is needed e.g. for the "Slide transition sound" files where we want to play files and also give the choice whether to link or not Change-Id: I5aaef7152be8e5c0a0f88c4d7234926f233c5d92 Reviewed-on: https://gerrit.libreoffice.org/26846 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl/unx/kde4')
-rw-r--r--vcl/unx/kde4/KDE4FilePicker.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
index 2a359986bbe4..c8ed78025a66 100644
--- a/vcl/unx/kde4/KDE4FilePicker.cxx
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
@@ -715,6 +715,11 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args )
addCustomControl( PUSHBUTTON_PLAY );
break;
+ case FILEOPEN_LINK_PLAY:
+ addCustomControl( CHECKBOX_LINK );
+ addCustomControl( PUSHBUTTON_PLAY );
+ break;
+
case FILEOPEN_READONLY_VERSION:
addCustomControl( CHECKBOX_READONLY );
addCustomControl( LISTBOX_VERSION );