Support session management with Qt5 195/head
authorSebastian Goth <seezer@roath.org>
Sat, 23 Apr 2016 11:39:59 +0000 (13:39 +0200)
committerSebastian Goth <seezer@roath.org>
Sat, 23 Apr 2016 11:39:59 +0000 (13:39 +0200)
commiteebedfe2a4969420119687837654db7261806cd2
treeb9293b1e159fa62cf3d4bb0138e2e3bb29580b22
parente1e56477e17172301dc6d1b3aadaf0431689afb0
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