Details
-
Bug
-
Resolution: Won't Do
-
P3: Somewhat important
-
5.3.0, 5.12.5
-
None
-
OS X 10.9.3
-
-
9cd3ff2bdea0d5a009a8284288bbbdaaaec817be (qt/qtbase/dev) 85fd5b70d6af42e5db14a17a21f56770b3f448b7 (qt/qtbase/6.0) b64e9fc21fca02e929d98568c1529f0fe3214842 (qt/tqtc-qtbase/tqtc/lts-5.15)
Description
A "save as" QFileDialog with option QFileDialog::DontConfirmOverwrite set to true displays the overwrite query when App is sandboxed.
If the App is not sandboxed it work like expected.
QFileDialog fd( this, tr("Save as"), file_name, "(*.txt)" );
fd.setAcceptMode( QFileDialog::AcceptSave );
fd.setFileMode( QFileDialog::AnyFile );
fd.setViewMode( QFileDialog::List );
fd.setOption( QFileDialog::DontConfirmOverwrite, true );
int rc = fd.exec();