avoid useless action if the user tries to stop kompmgr while it's not running
svn path=/trunk/kdebase/kwin/; revision=379571
This commit is contained in:
parent
a88891cf34
commit
c6a2534495
1 changed files with 1 additions and 1 deletions
|
@ -2340,7 +2340,7 @@ void Workspace::startKompmgr()
|
||||||
|
|
||||||
void Workspace::stopKompmgr()
|
void Workspace::stopKompmgr()
|
||||||
{
|
{
|
||||||
if(!kompmgr)
|
if (!kompmgr || !kompmgr->isRunning())
|
||||||
return;
|
return;
|
||||||
kompmgr->disconnect(this, SLOT(restartKompmgr()));
|
kompmgr->disconnect(this, SLOT(restartKompmgr()));
|
||||||
options->useTranslucency = FALSE;
|
options->useTranslucency = FALSE;
|
||||||
|
|
Loading…
Reference in a new issue