Support session management with Qt5
authorSebastian Goth <seezer@roath.org>
Sat, 23 Apr 2016 11:39:59 +0000 (13:39 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 24 Apr 2016 20:14:58 +0000 (22:14 +0200)
commitdb104c49b6c9b1e9a8a9e03b25688495c6f22193
treed0631c6a5304c40e4d8e7ee3e566adfba91de636
parent6620cfe786cdd8983c6ab5428c04541db5933970
Support session management with Qt5

Qt5 moved away from virtual methods towards signals for commitData() and saveState().
These were simply not called anymore in our code.

In Qt 5.6 a bug was fixed that broke session management at least with KF5.
As we do handle the session management, we can safely disable the fallback.
See QTBUG-49667 and https://codereview.qt-project.org/#/c/148274/ for details.
src/qtui/qtuiapplication.cpp
src/qtui/qtuiapplication.h