[Differential] [Updated, 70 lines] D4628: Add ability to disable saving in `KTextEditor::Document`

Russell Greene noreply at phabricator.kde.org
Thu Feb 16 05:59:20 UTC 2017


russellg removed R39 KTextEditor as the repository for this revision.
russellg updated this revision to Diff 11390.
russellg added a comment.


  Updated the test to be slightly better. Use `QVERIFY(...)` instead of `QCOMPARE(..., true)` in one case, and make sure that `saveEnabled()` is false after calling `setSaveEnabled(false)`.

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D4628?vs=11389&id=11390

REVISION DETAIL
  https://phabricator.kde.org/D4628

AFFECTED FILES
  autotests/src/katedocument_test.cpp
  autotests/src/katedocument_test.h
  src/document/katedocument.cpp
  src/document/katedocument.h
  src/include/ktexteditor/document.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: russellg
Cc: kwrite-devel, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170216/b709f694/attachment.html>


More information about the Kde-frameworks-devel mailing list