[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - vcl/unx
Juergen Funk
juergen.funk_ml at cib.de
Fri Jul 3 07:45:50 PDT 2015
vcl/unx/kde4/KDE4FilePicker.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7fa28a17f658c2bd15a359a5153e77667b925a20
Author: Juergen Funk <juergen.funk_ml at cib.de>
Date: Fri Jun 26 15:45:00 2015 +0200
tdf#92353 FileSave: Not confirmed for overwrite a file (unix)
The setConfimOverwrite function must be set after setOperationMode function
Change-Id: Id5ab54be502e9c96eba3d7ab600b5e06e241c8fd
Reviewed-on: https://gerrit.libreoffice.org/16517
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
Reviewed-on: https://gerrit.libreoffice.org/16649
Tested-by: Katarina Behrens <Katarina.Behrens at cib.de>
diff --git a/vcl/unx/kde4/KDE4FilePicker.cxx b/vcl/unx/kde4/KDE4FilePicker.cxx
index ac21f81..4615bd4 100644
--- a/vcl/unx/kde4/KDE4FilePicker.cxx
+++ b/vcl/unx/kde4/KDE4FilePicker.cxx
@@ -129,7 +129,6 @@ KDE4FilePicker::KDE4FilePicker( const uno::Reference<uno::XComponentContext>& )
#endif
setMultiSelectionMode( false );
- _dialog->setConfirmOverwrite( true );
// XExecutableDialog functions
connect( this, SIGNAL( setTitleSignal( const OUString & ) ),
@@ -737,6 +736,7 @@ void SAL_CALL KDE4FilePicker::initialize( const uno::Sequence<uno::Any> &args )
break;
case KFileDialog::Saving:
resId = STR_FPICKER_SAVE;
+ _dialog->setConfirmOverwrite( true );
break;
default:
break;
More information about the Libreoffice-commits
mailing list