~mterry/ubuntu-calculator-app/confined

« back to all changes in this revision

Viewing changes to app/ubuntu-calculator-app.qml

Workaround for missing icons errors.

Approved by Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
309
309
                Action {
310
310
                    id: selectAllAction
311
311
                    objectName: "selectAllAction"
312
 
                    iconName: "select"
313
 
                    // Until a select none icon  will be added to the theme we have to use
314
 
                    // our own
315
 
                    iconSource: visualModel.selectedItems.count < visualModel.items.count ?
316
 
                            Qt.resolvedUrl("graphics/select.svg") :
317
 
                            Qt.resolvedUrl("graphics/select_none.svg")
 
312
                    iconName: visualModel.selectedItems.count < visualModel.items.count ?
 
313
                                        "select" : "select-none"
318
314
                    text: visualModel.selectedItems.count < visualModel.items.count ?
319
315
                            i18n.tr("Select All") : i18n.tr("Select None")
320
316
                    onTriggered: visualModel.selectAll()