* 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:
parent
69524609a3
commit
93882feae4
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user