D13808: Fix KMainWindow saving incorrect widget settings

Albert Astals Cid noreply at phabricator.kde.org
Tue Jul 3 23:05:14 BST 2018


aacid added a comment.


  In D13808#286480 <https://phabricator.kde.org/D13808#286480>, @maxrd2 wrote:
  
  > QTEST_MAIN already provides QApplication and event loop
  
  
  It does, but not between your
  
    NativeMainWindow mw;
    mw.close();
  
  and as far as i understood the problem was with the close request comming from a loop (maybe i'm wrong) so i'm suggesting you either manually create an event loop or post the close event instead of directly calling close(). Of course ignore my comment if the close event being queued is not part of the problem/regression

REPOSITORY
  R263 KXmlGui

BRANCH
  fix-window-state-save

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

To: maxrd2, #kde_applications, dfaure, elvisangelaccio, broulik, cfeck
Cc: wbauer, aacid, ngraham, kde-frameworks-devel, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180703/2dbf8287/attachment.html>


More information about the Kde-frameworks-devel mailing list