From 00d9588ccc69cc7e4967eff7f96f92abafde5766 Mon Sep 17 00:00:00 2001 From: Matthias Ettrich Date: Sat, 25 Mar 2000 13:46:01 +0000 Subject: [PATCH] added phase2 workaround for broken qt-2.1 beta3 svn path=/trunk/kdebase/kwin/; revision=44620 --- main.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) 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();