Commit 7e35ac9e authored by Heiko Becker's avatar Heiko Becker 🏃 Committed by David Edmundson
Browse files

Use new name for dbus interface too

Follow-up to e3d7e76b.
parent 901b5cdf
......@@ -150,7 +150,7 @@ void KStatsTest::changes()
void KStatsTest::dbusApi()
{
OrgKdeKSysGuardDaemonInterface iface("org.kde.kstats",
OrgKdeKSysGuardDaemonInterface iface("org.kde.ksystemstats",
"/",
QDBusConnection::sessionBus(),
this);
......
......@@ -64,7 +64,7 @@ void KSysGuardDaemon::init()
{
loadProviders();
QDBusConnection::sessionBus().registerObject("/", this, QDBusConnection::ExportAdaptors);
QDBusConnection::sessionBus().registerService("org.kde.kstats");
QDBusConnection::sessionBus().registerService("org.kde.ksystemstats");
}
void KSysGuardDaemon::loadProviders()
......
......@@ -89,7 +89,7 @@ int main(int argc, char **argv)
SensorWatcher::SensorWatcher(int &argc, char **argv)
: QCoreApplication(argc, argv)
, m_iface(new OrgKdeKSysGuardDaemonInterface("org.kde.kstats",
, m_iface(new OrgKdeKSysGuardDaemonInterface("org.kde.ksystemstats",
"/",
QDBusConnection::sessionBus(),
this))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment