aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2017-04-03 10:16:58 +0200
committerAlbert Astals Cid <albert.astals@canonical.com>2017-04-03 10:16:58 +0200
commit0fd82be5fb322fac9c45e0a66625023ae9473e5c (patch)
tree29804bef1369a68c8a39008c3e9b3fbae43b8b3a /libqmenumodel/src
parent42ba9cd9816dd53bf2042ec49cd1920cb84e7eb4 (diff)
downloadqmenumodel-0fd82be5fb322fac9c45e0a66625023ae9473e5c.tar.gz
qmenumodel-0fd82be5fb322fac9c45e0a66625023ae9473e5c.tar.bz2
qmenumodel-0fd82be5fb322fac9c45e0a66625023ae9473e5c.zip
Add a return true
Noone seems to be actually using the returned bool, but it's always nice to have a return
Diffstat (limited to 'libqmenumodel/src')
-rw-r--r--libqmenumodel/src/unitymenumodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmenumodel/src/unitymenumodel.cpp b/libqmenumodel/src/unitymenumodel.cpp
index d9dc542..a9a62aa 100644
--- a/libqmenumodel/src/unitymenumodel.cpp
+++ b/libqmenumodel/src/unitymenumodel.cpp
@@ -685,6 +685,7 @@ bool UnityMenuModel::loadExtendedAttributes(int position, const QVariantMap &sch
extendedAttrs, freeExtendedAttrs);
Q_EMIT dataChanged(index(position, 0), index(position, 0), QVector<int>() << ExtendedAttributesRole);
+ return true;
}
QVariant UnityMenuModel::get(int row, const QByteArray &role)