* more debug for when these issues arise

* nicer logic handling (no negation ;)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802270
This commit is contained in:
Aaron J. Seigo 2008-04-29 00:10:43 +00:00
parent 69524609a3
commit 93882feae4

View File

@ -149,12 +149,14 @@ protected:
}
emit dc->updateRequested(dc);
if (!d->hasUpdates()) {
if (d->hasUpdates()) {
//kDebug() << "emitting data updated directly" << d->data;
emit dataUpdated(dc->objectName(), d->data);
} else {
// the source wasn't actually updated; so let's put ourselves in the queue
// so we get an dataUpdated() when the data does arrive
//kDebug() << "queued";
m_queued = true;
} else {
emit dataUpdated(dc->objectName(), d->data);
}
event->accept();
}