diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-10-30 13:53:37 +0000 |
---|---|---|
committer | Tarmac <> | 2012-10-30 13:53:37 +0000 |
commit | e26fff2098e067e4c1dc8095af1447755a359873 (patch) | |
tree | ccd8ebede33d7d8b7385b7d67c4ad172dc6d0607 /libqmenumodel/src/qdbusmenumodel.cpp | |
parent | 035b6086485dcd3b42abc5d1fab2b155ccd16027 (diff) | |
parent | fac3a657a39bb9c3e9fa3c0b3ff22533b2e7e3ba (diff) | |
download | qmenumodel-e26fff2098e067e4c1dc8095af1447755a359873.tar.gz qmenumodel-e26fff2098e067e4c1dc8095af1447755a359873.tar.bz2 qmenumodel-e26fff2098e067e4c1dc8095af1447755a359873.zip |
Use the correct function "g_action_group_change_action_state" to change the action state.
Approved by Olivier Tilloy.
Diffstat (limited to 'libqmenumodel/src/qdbusmenumodel.cpp')
-rw-r--r-- | libqmenumodel/src/qdbusmenumodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libqmenumodel/src/qdbusmenumodel.cpp b/libqmenumodel/src/qdbusmenumodel.cpp index f3da989..97990b4 100644 --- a/libqmenumodel/src/qdbusmenumodel.cpp +++ b/libqmenumodel/src/qdbusmenumodel.cpp @@ -96,8 +96,8 @@ void QDBusMenuModel::serviceVanish(GDBusConnection *) void QDBusMenuModel::serviceAppear(GDBusConnection *connection) { GMenuModel *model = reinterpret_cast<GMenuModel*>(g_dbus_menu_model_get(connection, - busName().toLatin1(), - objectPath().toLatin1())); + busName().toUtf8().data(), + objectPath().toUtf8().data())); setMenuModel(model); if (model == NULL) { stop(); |