aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-30 12:32:09 +0100
committerRenato Araujo Oliveira Filho <renato.filho@canonical.com>2012-10-30 12:32:09 +0100
commit24966876aecc8e554b7133cafe60181515976b6f (patch)
treee2537a813836376c0370662de88e16a0af45d5da /libqmenumodel/src
parent4d47b26a31dc1c337b47ded055e5f6613972fc97 (diff)
downloadqmenumodel-24966876aecc8e554b7133cafe60181515976b6f.tar.gz
qmenumodel-24966876aecc8e554b7133cafe60181515976b6f.tar.bz2
qmenumodel-24966876aecc8e554b7133cafe60181515976b6f.zip
Use the correct function "g_action_group_change_action_state" to change the action state.
Diffstat (limited to 'libqmenumodel/src')
-rw-r--r--libqmenumodel/src/qdbusactiongroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libqmenumodel/src/qdbusactiongroup.cpp b/libqmenumodel/src/qdbusactiongroup.cpp
index 0c1367a..75ab852 100644
--- a/libqmenumodel/src/qdbusactiongroup.cpp
+++ b/libqmenumodel/src/qdbusactiongroup.cpp
@@ -207,7 +207,7 @@ void QDBusActionGroup::clear()
void QDBusActionGroup::updateActionState(const QString &name, const QVariant &state)
{
if (m_actionGroup != NULL) {
- g_action_group_activate_action(m_actionGroup, name.toLatin1(), Converter::toGVariant(state));
+ g_action_group_change_action_state(m_actionGroup, name.toLatin1(), Converter::toGVariant(state));
}
}