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