added phase2 workaround for broken qt-2.1 beta3

svn path=/trunk/kdebase/kwin/; revision=44620
This commit is contained in:
Matthias Ettrich 2000-03-25 13:46:01 +00:00
parent b49151074f
commit 00d9588ccc

View file

@ -146,10 +146,15 @@ void Application::saveState( QSessionManager& sm )
} }
sm.release(); sm.release();
// if ( !sm.isPhase2() ) {
// sm.requestPhase2(); // we really should do phase 2 here, unfortunately qt-2.1beta3 contains a bug.
// return; // #######TODO FIXME with final Qt-2.1
// } /*
if ( !sm.isPhase2() ) {
sm.requestPhase2();
return;
}
*/
workspaces.first()->storeSession( kapp->sessionConfig() ); workspaces.first()->storeSession( kapp->sessionConfig() );
kapp->sessionConfig()->sync(); kapp->sessionConfig()->sync();