No QIcon in QML anymore
This commit is contained in:
parent
77acb3b971
commit
4806ff5a97
@ -65,12 +65,12 @@ Item {
|
|||||||
onClicked: activityTemplatesMenu.open()
|
onClicked: activityTemplatesMenu.open()
|
||||||
}
|
}
|
||||||
PlasmaComponents.MenuItem {
|
PlasmaComponents.MenuItem {
|
||||||
icon: QIcon("user-desktop")
|
icon: "user-desktop"
|
||||||
text: i18n("Empty Desktop")
|
text: i18n("Empty Desktop")
|
||||||
onClicked: activityManager.createActivity("desktop")
|
onClicked: activityManager.createActivity("desktop")
|
||||||
}
|
}
|
||||||
PlasmaComponents.MenuItem {
|
PlasmaComponents.MenuItem {
|
||||||
icon: QIcon("edit-copy")
|
icon: "edit-copy"
|
||||||
text: i18n("Clone current activity")
|
text: i18n("Clone current activity")
|
||||||
onClicked: activityManager.cloneCurrentActivity()
|
onClicked: activityManager.cloneCurrentActivity()
|
||||||
}
|
}
|
||||||
@ -85,7 +85,7 @@ Item {
|
|||||||
parent: activityTemplatesMenu
|
parent: activityTemplatesMenu
|
||||||
model: activityManager.activityTypeActions
|
model: activityManager.activityTypeActions
|
||||||
delegate: PlasmaComponents.MenuItem {
|
delegate: PlasmaComponents.MenuItem {
|
||||||
icon: QIcon(modelData.icon)
|
icon: modelData.icon
|
||||||
text: modelData.text
|
text: modelData.text
|
||||||
separator: modelData.separator
|
separator: modelData.separator
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
Loading…
Reference in New Issue
Block a user