diff options
author | Nick Dedekind <nicholas.dedekind@gmail.com> | 2013-12-11 12:32:13 +0000 |
---|---|---|
committer | Tarmac <> | 2013-12-11 12:32:13 +0000 |
commit | 9530a3dba93bef250da25726ec2b36365c980b7a (patch) | |
tree | c295d8c97fed073cbacfea8d2bb0b78e168e1d3f | |
parent | c40c4c2ad923d64608b0284cafc175e4257f196c (diff) | |
parent | 81b68c9f6bcb2023459d16635b2631b34815f5a7 (diff) | |
download | qmenumodel-9530a3dba93bef250da25726ec2b36365c980b7a.tar.gz qmenumodel-9530a3dba93bef250da25726ec2b36365c980b7a.tar.bz2 qmenumodel-9530a3dba93bef250da25726ec2b36365c980b7a.zip |
Added dataChange to loadExtendedAttributes function.
Approved by PS Jenkins bot, MichaĆ Sawicz.
-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) |