Don't crash.
svn path=/trunk/kdebase/kwin/; revision=379453
This commit is contained in:
parent
21f621f985
commit
5f824cbed0
1 changed files with 2 additions and 0 deletions
|
@ -2339,6 +2339,8 @@ void Workspace::startKompmgr()
|
||||||
|
|
||||||
void Workspace::stopKompmgr()
|
void Workspace::stopKompmgr()
|
||||||
{
|
{
|
||||||
|
if(!kompmgr)
|
||||||
|
return;
|
||||||
kompmgr->disconnect(this, SLOT(restartKompmgr()));
|
kompmgr->disconnect(this, SLOT(restartKompmgr()));
|
||||||
options->useTranslucency = FALSE;
|
options->useTranslucency = FALSE;
|
||||||
if (popup){ delete popup; popup = 0L; } // to add/remove opacity slider
|
if (popup){ delete popup; popup = 0L; } // to add/remove opacity slider
|
||||||
|
|
Loading…
Reference in a new issue