SVN_SILENT: a bit more useful debug in places

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802271
This commit is contained in:
Aaron J. Seigo 2008-04-29 00:15:26 +00:00
parent 93882feae4
commit 9a156375a3
2 changed files with 4 additions and 4 deletions

View File

@ -76,7 +76,8 @@ bool DataContainer::visualizationIsConnected(QObject *visualization) const
void DataContainer::connectVisualization(QObject* visualization, uint pollingInterval, Plasma::IntervalAlignment alignment)
{
//kDebug() << "connecting visualization" << visualization << "at interval of" << pollingInterval;
//kDebug() << "connecting visualization" << visualization << "at interval of"
// << pollingInterval << "to" << objectName();
QMap<QObject *, SignalRelay *>::iterator objIt = d->relayObjects.find(visualization);
bool connected = objIt != d->relayObjects.end();
if (connected) {
@ -113,12 +114,12 @@ void DataContainer::connectVisualization(QObject* visualization, uint pollingInt
if (pollingInterval < 1) {
// kDebug() << " connecting directly";
//kDebug() << " connecting directly";
d->relayObjects[visualization] = 0;
connect(this, SIGNAL(dataUpdated(QString,Plasma::DataEngine::Data)),
visualization, SLOT(dataUpdated(QString,Plasma::DataEngine::Data)));
} else {
// kDebug() << " connecting to a relay";
//kDebug() << " connecting to a relay";
SignalRelay *relay = d->signalRelay(this, visualization, pollingInterval, alignment);
connect(relay, SIGNAL(dataUpdated(QString,Plasma::DataEngine::Data)),
visualization, SLOT(dataUpdated(QString,Plasma::DataEngine::Data)));

View File

@ -387,7 +387,6 @@ void DataEngine::setData(const QString &source, const Data &data)
d->queueUpdate();
}
void DataEngine::removeAllData(const QString& source)
{
DataContainer* s = d->source(source, false);