* 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);
|
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
|
// the source wasn't actually updated; so let's put ourselves in the queue
|
||||||
// so we get an dataUpdated() when the data does arrive
|
// so we get an dataUpdated() when the data does arrive
|
||||||
|
//kDebug() << "queued";
|
||||||
m_queued = true;
|
m_queued = true;
|
||||||
} else {
|
|
||||||
emit dataUpdated(dc->objectName(), d->data);
|
|
||||||
}
|
}
|
||||||
event->accept();
|
event->accept();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user