QFileDialogs, when set up with AcceptMode = AcceptSave and FileMode = AnyFile, is supposed to ask for confirmation when overwriting a file. QFileDialog::setConfirmOverwrite(true) explicitly sets this behaviour. The Qt QFileDialog (as obtained when setting QFileDialog::setOption(QFileDialog::DontUseNativeDialog)) respects this setting and asks for confirmation when overwriting a file. The KF5 file dialog **DOES NOT** ask for such confirmation. Reproducible: Always
*** This bug has been marked as a duplicate of bug 360666 ***