added phase2 workaround for broken qt-2.1 beta3
svn path=/trunk/kdebase/kwin/; revision=44620
This commit is contained in:
parent
b49151074f
commit
00d9588ccc
1 changed files with 9 additions and 4 deletions
13
main.cpp
13
main.cpp
|
@ -146,10 +146,15 @@ void Application::saveState( QSessionManager& sm )
|
|||
}
|
||||
|
||||
sm.release();
|
||||
// if ( !sm.isPhase2() ) {
|
||||
// sm.requestPhase2();
|
||||
// return;
|
||||
// }
|
||||
|
||||
// we really should do phase 2 here, unfortunately qt-2.1beta3 contains a bug.
|
||||
// #######TODO FIXME with final Qt-2.1
|
||||
/*
|
||||
if ( !sm.isPhase2() ) {
|
||||
sm.requestPhase2();
|
||||
return;
|
||||
}
|
||||
*/
|
||||
|
||||
workspaces.first()->storeSession( kapp->sessionConfig() );
|
||||
kapp->sessionConfig()->sync();
|
||||
|
|
Loading…
Reference in a new issue