diff options
author | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-12-11 12:04:18 +0000 |
---|---|---|
committer | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-12-11 12:04:18 +0000 |
commit | 81b68c9f6bcb2023459d16635b2631b34815f5a7 (patch) | |
tree | c295d8c97fed073cbacfea8d2bb0b78e168e1d3f | |
parent | c40c4c2ad923d64608b0284cafc175e4257f196c (diff) | |
download | qmenumodel-81b68c9f6bcb2023459d16635b2631b34815f5a7.tar.gz qmenumodel-81b68c9f6bcb2023459d16635b2631b34815f5a7.tar.bz2 qmenumodel-81b68c9f6bcb2023459d16635b2631b34815f5a7.zip |
Added data change to loadExtAttributes
-rw-r--r-- | libqmenumodel/src/unitymenumodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp index ac10bb5..a2aae31 100644 --- a/libqmenumodel/src/unitymenumodel.cpp +++ b/libqmenumodel/src/unitymenumodel.cpp @@ -652,6 +652,8 @@ bool UnityMenuModel::loadExtendedAttributes(int position, const QVariantMap &sch g_object_set_qdata_full (G_OBJECT (item), unity_menu_item_extended_attributes_quark (), extendedAttrs, freeExtendedAttrs); + + Q_EMIT dataChanged(index(position, 0), index(position, 0), QVector<int>() << ExtendedAttributesRole); } QVariant UnityMenuModel::get(int row, const QByteArray &role) |