Not NotRunning is not the same as Running

This commit is contained in:
Ivan Čukić 2013-11-18 11:08:10 +01:00
parent f97f506acb
commit 0fb9549dea

View File

@ -525,7 +525,7 @@ void ShellCorona::checkActivities()
KActivities::Consumer::ServiceStatus status = d->activityController->serviceStatus();
//qDebug() << "$%$%$#%$%$%Status:" << status;
if (status == KActivities::Consumer::NotRunning) {
if (status != KActivities::Consumer::Running) {
//panic and give up - better than causing a mess
qDebug() << "No ActivityManager? Help, I've fallen and I can't get up!";
return;
@ -730,7 +730,7 @@ void ShellCorona::addPanel(const QString &plugin)
break;
}
panel->setScreen(0);
d->waitingPanels << panel;
d->waitingPanelsTimer->start();