[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kremotecontrol] kcmremotecontrol: fix dbus actions which require the use of the interface name
From:       Michael Zanetti <michael_zanetti () gmx ! net>
Date:       2012-11-04 19:38:30
Message-ID: 20121104193830.55B7EA6091 () git ! kde ! org
[Download RAW message or body]

Git commit 1e3b9d61612f27841e43f3d64c6869fb177fd255 by Michael Zanetti.
Committed on 04/11/2012 at 20:38.
Pushed by mzanetti into branch 'master'.

fix dbus actions which require the use of the interface name

M  +1    -0    kcmremotecontrol/editdbusaction.cpp

http://commits.kde.org/kremotecontrol/1e3b9d61612f27841e43f3d64c6869fb177fd255

diff --git a/kcmremotecontrol/editdbusaction.cpp \
b/kcmremotecontrol/editdbusaction.cpp index 37f4568..01b7856 100644
--- a/kcmremotecontrol/editdbusaction.cpp
+++ b/kcmremotecontrol/editdbusaction.cpp
@@ -97,6 +97,7 @@ void EditDBusAction::applyChanges(){
     Prototype prototype = \
m_dbusFunctionModel->getPrototype(ui.tvDBusFunctions->selectionModel()->currentIndex().row());
  prototype.setArgs(m_argumentsModel->arguments());
     m_action->setFunction(prototype);
+    m_action->setInterface(m_dbusFunctionModel->getInterface(ui.tvDBusFunctions->selectionModel()->currentIndex().row()));
  
     m_action->setAutostart(ui.cbAutostart->isChecked());
     m_action->setRepeat(ui.cbRepeat->isChecked());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic