D21645: copy backtrace file with overwrite flag
Harald Sitter
noreply at phabricator.kde.org
Fri Jun 7 12:13:01 BST 2019
sitter created this revision.
sitter added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
sitter requested review of this revision.
REVISION SUMMARY
QFileDialog was already run with confirmOverwrite, but we didn't actually
set the Overwrite flag on the copy call, so we got an error back when
the file already existed. Since the user already needed to confirm the
overwrite in the QFD we can always pass Overwrite.
BUG: 405597
CHANGELOG: Saving backtraces now overwrites files when necessary
FIXED-IN: 5.16.1
TEST PLAN
- save backtrace
- save again
- dialog asks to confirm overwrite
- gets overwritten succesfully
- save again
- refuse to overwrite
- dialog stays open until cancel or new path is chosen
- no overwrite
REPOSITORY
R871 DrKonqi
BRANCH
405597-2
REVISION DETAIL
https://phabricator.kde.org/D21645
AFFECTED FILES
src/drkonqi.cpp
To: sitter, #plasma
Cc: plasma-devel, LeGast00n, ericadams, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190607/c8dc8c01/attachment.html>
More information about the Plasma-devel
mailing list