From 5f824cbed0a6bc49db618337f48221cda7a1a23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 17 Jan 2005 16:42:34 +0000 Subject: [PATCH] Don't crash. svn path=/trunk/kdebase/kwin/; revision=379453 --- workspace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workspace.cpp b/workspace.cpp index 8330c995c2..6f68799717 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -2339,6 +2339,8 @@ void Workspace::startKompmgr() void Workspace::stopKompmgr() { + if(!kompmgr) + return; kompmgr->disconnect(this, SLOT(restartKompmgr())); options->useTranslucency = FALSE; if (popup){ delete popup; popup = 0L; } // to add/remove opacity slider