maxrd2 updated this revision to Diff 37211. maxrd2 added a comment.
Clened up test code. Replaced isVisible() with isHidden() test to match KMainWindow's condition. REPOSITORY R263 KXmlGui CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D13808?vs=37131&id=37211 BRANCH fix-window-state-save REVISION DETAIL https://phabricator.kde.org/D13808 AFFECTED FILES autotests/kmainwindow_unittest.cpp autotests/kmainwindow_unittest.h src/kmainwindow.cpp To: maxrd2, #kde_applications, dfaure, elvisangelaccio, broulik, cfeck Cc: asturmlechner, wbauer, aacid, ngraham, kde-frameworks-devel, michaelh, bruns