aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <albert.astals@canonical.com>2017-04-04 11:27:05 +0000
committerBileto Bot <ci-train-bot@canonical.com>2017-04-04 11:27:05 +0000
commit05133b2c26300ecd187988c26bb244ff04078532 (patch)
tree29804bef1369a68c8a39008c3e9b3fbae43b8b3a
parent42ba9cd9816dd53bf2042ec49cd1920cb84e7eb4 (diff)
parent0fd82be5fb322fac9c45e0a66625023ae9473e5c (diff)
downloadqmenumodel-05133b2c26300ecd187988c26bb244ff04078532.tar.gz
qmenumodel-05133b2c26300ecd187988c26bb244ff04078532.tar.bz2
qmenumodel-05133b2c26300ecd187988c26bb244ff04078532.zip
Add a return true
No one seems to be actually using the returned bool, but it's always nice to have a return Approved by: Michael Zanetti
-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)