@@ -185,15 +185,13 @@ Item {
186 id: socialActionsModel
186 id: socialActionsModel
187 property var model: []
187 property var model: []
188− readonly property bool hasActions: {
188+ readonly property bool hasActions: components["social-actions"] != undefined
189− var actions = components["social-actions"];
190− var hasActionsFlag = (actions != undefined);
190+ onHasActionsChanged: {
192 model = []
191 model = []
193− if (hasActionsFlag) {
192+ if (hasActions) {
194− model.push( {"id":"text", "icon":"image://theme/ok" } );
193+ model.push( {"id":"text", "icon":"image://theme/ok" } );
196− return hasActionsFlag