avoid useless action if the user tries to stop kompmgr while it's not running

svn path=/trunk/kdebase/kwin/; revision=379571
icc-effect-5.14.5
Thomas Lübking 2005-01-17 23:16:28 +00:00
parent a88891cf34
commit c6a2534495
1 changed files with 1 additions and 1 deletions

View File

@ -2340,7 +2340,7 @@ void Workspace::startKompmgr()
void Workspace::stopKompmgr()
{
if(!kompmgr)
if (!kompmgr || !kompmgr->isRunning())
return;
kompmgr->disconnect(this, SLOT(restartKompmgr()));
options->useTranslucency = FALSE;