mirror of
https://github.com/arcan1s/netctl-gui.git
synced 2025-12-16 07:23:41 +00:00
end work to dbus interface
This commit is contained in:
@ -363,11 +363,11 @@ void MainWindow::createDBusSession()
|
||||
if (!bus.registerService(QString(DBUS_SERVICE)))
|
||||
if (debug) qDebug() << "[MainWindow]" << "[createDBusSession]" << ":" << "Could not register service";
|
||||
if (!bus.registerObject(QString(DBUS_OBJECT_PATH),
|
||||
new NetctlGuiAdaptor(this, debug),
|
||||
new NetctlGuiAdaptor(this),
|
||||
QDBusConnection::ExportAllContents))
|
||||
if (debug) qDebug() << "[MainWindow]" << "[createDBusSession]" << ":" << "Could not register GUI object";
|
||||
if (!bus.registerObject(QString(DBUS_LIB_PATH),
|
||||
new NetctlAdaptor(this, debug, configuration),
|
||||
new NetctlAdaptor(this, configuration),
|
||||
QDBusConnection::ExportAllContents))
|
||||
if (debug) qDebug() << "[MainWindow]" << "[createDBusSession]" << ":" << "Could not register library object";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user