summaryrefslogtreecommitdiffstats
path: root/kwin/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-28 03:25:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-28 03:25:47 +0000
commit0c7d4bb71f9bb7ec47eccd57523c38dac41abed1 (patch)
tree3823b6cafc980efc7c54e923a092eb779407fd6d /kwin/main.cpp
parentf1fdec42303ca53d085302ea2af9110cd1d79570 (diff)
downloadtdebase-0c7d4bb71f9bb7ec47eccd57523c38dac41abed1.tar.gz
tdebase-0c7d4bb71f9bb7ec47eccd57523c38dac41abed1.zip
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
Diffstat (limited to 'kwin/main.cpp')
-rw-r--r--kwin/main.cpp4
1 files changed, 4 insertions, 0 deletions
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"))
{