diff --git a/ksmserver/main.cpp b/ksmserver/main.cpp --- a/ksmserver/main.cpp +++ b/ksmserver/main.cpp @@ -285,15 +285,6 @@ parser.process(*a); -//TODO: should we still use this? -// if( !QDBusConnection::sessionBus().interface()-> -// registerService( QStringLiteral( "org.kde.ksmserver" ), -// QDBusConnectionInterface::DontQueueService ) ) -// { -// qCWarning(KSMSERVER, "Could not register with D-BUS. Aborting."); -// return 1; -// } - QString wm = parser.value(wmOption); bool only_local = !parser.isSet(nolocalOption);