From 0d42d3681402cea30ff68d9c6d1e71f549b03cde Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Sat, 19 Jul 2008 00:03:08 +0000 Subject: [PATCH] Help bug-hunting devs svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=834455 --- service.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/service.cpp b/service.cpp index 425289197..3de4932eb 100644 --- a/service.cpp +++ b/service.cpp @@ -100,6 +100,7 @@ QString Service::destination() const QStringList Service::operationNames() const { if (!d->config) { + kDebug() << "No valid operations scheme has been registered"; return QStringList(); } @@ -109,6 +110,7 @@ QStringList Service::operationNames() const KConfigGroup Service::operationDescription(const QString &operationName) { if (!d->config) { + kDebug() << "No valid operations scheme has been registered"; return KConfigGroup(); } @@ -120,6 +122,7 @@ ServiceJob* Service::startOperationCall(const KConfigGroup &description) { // TODO: nested groups? if (!d->config) { + kDebug() << "No valid operations scheme has been registered"; return new NullServiceJob(parent()); } @@ -163,12 +166,14 @@ void Service::setOperationsScheme(QIODevice *xml) void Service::registerOperationsScheme() { if (d->name.isEmpty()) { + kDebug() << "No name found"; return; } QString path = KStandardDirs::locate("data", "plasma/services/" + d->name + ".operations"); if (path.isEmpty()) { + kDebug() << "Cannot find operations description"; return; }