psa: fix dbus call to open automatic update settings
[feedingit] / FeedingIt-Sync / pysrc / feedingit.py
index 370a488..f2791ad 100644 (file)
@@ -244,11 +244,11 @@ class Controller(QtCore.QObject):
             config.setFontSize(value)
         config.saveConfig()
     
-    @QtCore.Slot(str, str)
+    @QtCore.Slot()
     def openSettings(self):
         bus = dbus.SessionBus()
         settingService = bus.get_object('com.nokia.DuiControlPanel', '/')
-        setting = shareService.get_dbus_method('appletPage', 'com.nokia.DuiControlPanelIf')
+        setting = settingService.get_dbus_method('appletPage', 'com.nokia.DuiControlPanelIf')
         setting(["FeedingIt"],)
 
     @QtCore.Slot(str, str)