Fixed sftp plugin

Scriptable slots show be exposed on dbus
This commit is contained in:
Albert Vaca 2017-01-27 01:39:03 +01:00
parent b416c18916
commit 768fdb443f

View file

@ -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) {