From 0c7d4bb71f9bb7ec47eccd57523c38dac41abed1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 28 Feb 2011 03:25:47 +0000 Subject: Fix the following problems under Qt4: * Konsole compilation failure * ksplash exit failure * kicker rounded tip masking behaviour * kwin auto-exit issue git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1223001 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kwin/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kwin/main.cpp') diff --git a/kwin/main.cpp b/kwin/main.cpp index 96cb793ba..ee1f66c68 100644 --- a/kwin/main.cpp +++ b/kwin/main.cpp @@ -86,6 +86,10 @@ int x11ErrorHandler(Display *d, XErrorEvent *e) Application::Application( ) : KApplication( ), owner( screen_number ) { +#ifdef USE_QT4 + // I'm special... + setQuitOnLastWindowClosed(false); +#endif // USE_QT4 KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); if (!config()->isImmutable() && args->isSet("lock")) { -- cgit v1.2.3