diff --git a/main.cpp b/main.cpp index 9ec3c32f7b..cc2a3d88b6 100644 --- a/main.cpp +++ b/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();