D29762: [KJots] Save on exit
Igor Poboiko
noreply at phabricator.kde.org
Thu May 14 19:37:50 BST 2020
poboiko created this revision.
poboiko added a reviewer: dvratil.
Herald added a project: KDE PIM.
poboiko requested review of this revision.
REVISION SUMMARY
This is follow-up to D29291: [KJots] Provide explicit "Save" action, use standard actions where possible <https://phabricator.kde.org/D29291>.
When quitting the application, perform a save using the synchronous `ItemModifyJob` interface.
If the job has failed, show a dialog explaining what can be done to avoid data loss (save it to file using Export menu).
BUG: 296242
TEST PLAN
Note is now always saved on Ctrl+Q.
REPOSITORY
R573 KJots
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D29762
AFFECTED FILES
src/KJotsMain.cpp
src/KJotsMain.h
src/kjotsedit.cpp
src/kjotsmodel.cpp
src/kjotsmodel.h
src/kjotswidget.cpp
To: poboiko, dvratil
Cc: kde-pim, fbampaloukas, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20200514/fbd9296f/attachment.htm>
More information about the kde-pim
mailing list