diff --git a/kcminit/CMakeLists.txt b/kcminit/CMakeLists.txt index c34c9fe0..d19f0820 100644 --- a/kcminit/CMakeLists.txt +++ b/kcminit/CMakeLists.txt @@ -1,5 +1,7 @@ ########### next target ############### +add_definitions(-DKDE_DEFAULT_DEBUG_AREA=90250) + add_executable(kcminit main.cpp) target_link_libraries(kcminit diff --git a/kcminit/main.cpp b/kcminit/main.cpp index 6ed8829b..d8d3c5f6 100644 --- a/kcminit/main.cpp +++ b/kcminit/main.cpp @@ -84,13 +84,13 @@ bool KCMInit::runModule(const QString &libName, KService::Ptr service) void *init = lib.resolve(kcminit.toUtf8()); if (init) { // initialize the module - kDebug(1208) << "Initializing " << libName << ": " << kcminit; + kDebug() << "Initializing " << libName << ": " << kcminit; void (*func)() = (void(*)())init; func(); return true; } else { - kDebug(1208) << "Module" << libName << "does not actually have a kcminit function"; + kDebug() << "Module" << libName << "does not actually have a kcminit function"; } } return false; @@ -170,7 +170,7 @@ KCMInit::KCMInit( KCmdLineArgs* args ) KService::Ptr serv = KService::serviceByStorageId( module ); if ( !serv || serv->library().isEmpty() ) { - kError(1208) << i18n("Module %1 not found", module) << endl; + kError() << i18n("Module %1 not found", module) << endl; return; } else list.append(serv);