Fixed sftp plugin
Scriptable slots show be exposed on dbus
This commit is contained in:
parent
b416c18916
commit
768fdb443f
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ void Device::reloadPlugins()
|
|||
|
||||
const QString dbusPath = plugin->dbusPath();
|
||||
if (!dbusPath.isEmpty()) {
|
||||
bus.registerObject(dbusPath, plugin, QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableInvokables | QDBusConnection::ExportScriptableSignals);
|
||||
bus.registerObject(dbusPath, plugin, QDBusConnection::ExportAllProperties | QDBusConnection::ExportScriptableInvokables | QDBusConnection::ExportScriptableSignals | QDBusConnection::ExportScriptableSlots);
|
||||
}
|
||||
}
|
||||
if (differentPlugins) {
|
||||
|
|
Loading…
Reference in a new issue