rename CONTROL to CTRL

This commit is contained in:
arcan1s
2014-08-09 20:55:14 +04:00
parent 558a206a8d
commit 42194295cc
8 changed files with 25 additions and 25 deletions

View File

@ -135,7 +135,7 @@ void NetctlHelper::createInterface()
if (debug) qDebug() << "[NetctlHelper]" << "[createInterface]" << ":" << bus.lastError().message();
return quitHelper();
}
if (!bus.registerObject(DBUS_CONTROL_PATH,
if (!bus.registerObject(DBUS_CTRL_PATH,
new ControlAdaptor(this, configuration),
QDBusConnection::ExportAllContents)) {
if (debug) qDebug() << "[NetctlHelper]" << "[createInterface]" << ":" << "Could not register control object";
@ -150,7 +150,7 @@ void NetctlHelper::deleteInterface()
if (debug) qDebug() << "[NetctlHelper]" << "[deleteInterface]";
QDBusConnection::systemBus().unregisterObject(DBUS_LIB_PATH);
QDBusConnection::systemBus().unregisterObject(DBUS_CONTROL_PATH);
QDBusConnection::systemBus().unregisterObject(DBUS_CTRL_PATH);
QDBusConnection::systemBus().unregisterService(DBUS_HELPER_SERVICE);
}