diff options
author | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-09-14 16:11:28 -0300 |
---|---|---|
committer | Renato Araujo Oliveira Filho <renato.filho@canonical.com> | 2012-09-14 16:11:28 -0300 |
commit | ebe349e1d96b28e31c29b3e563da1a65fb176e39 (patch) | |
tree | be1271f3d09159fa9f1a44b96fc62cff9cb3b72e /src/common/qmenumodel.cpp | |
parent | 2b9cf1654e8eb602f70e14246c3c583962ce7254 (diff) | |
download | qmenumodel-ebe349e1d96b28e31c29b3e563da1a65fb176e39.tar.gz qmenumodel-ebe349e1d96b28e31c29b3e563da1a65fb176e39.tar.bz2 qmenumodel-ebe349e1d96b28e31c29b3e563da1a65fb176e39.zip |
Created function to convert from QVariant to GVariant.
Moved QStateAction controler from QACtionGroup.
Diffstat (limited to 'src/common/qmenumodel.cpp')
-rw-r--r-- | src/common/qmenumodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/qmenumodel.cpp b/src/common/qmenumodel.cpp index f8d71ba..cc760c1 100644 --- a/src/common/qmenumodel.cpp +++ b/src/common/qmenumodel.cpp @@ -202,7 +202,7 @@ QVariant QMenuModel::getExtraProperties(const QModelIndex &index) const while (g_menu_attribute_iter_get_next (iter, &attrName, &value)) { if (strncmp("x-", attrName, 2) == 0) { extra.insert(parseExtraPropertyName(attrName), - Converter::toGVariant(value)); + Converter::toQVariant(value)); } } |