Commit 34a897e7 authored by Chupligin Sergey's avatar Chupligin Sergey

[AppLauncher] Add default icon

parent 68050fe0
...@@ -91,7 +91,7 @@ GridView { ...@@ -91,7 +91,7 @@ GridView {
id: launcherItem id: launcherItem
width: gridview.cellWidth width: gridview.cellWidth
height: gridview.cellHeight height: gridview.cellHeight
source: model.object.iconId == "" ? ":/images/icons/apps.png" : (model.object.iconId.indexOf("/") == 0 ? "file://" : "image://theme/") + model.object.iconId source: model.object.iconId == "" ? "/usr/share/lipstick-glacier-home-qt5/qml/theme/default_icon.png" : (model.object.iconId.indexOf("/") == 0 ? "file://" : "image://theme/") + model.object.iconId
iconCaption: model.object.title iconCaption: model.object.title
} }
} }
...@@ -27,7 +27,7 @@ Image { ...@@ -27,7 +27,7 @@ Image {
id: closeButton id: closeButton
signal clicked() signal clicked()
source: '= /usr/share/lipstick-glacier-home-qt5/qml/theme/icon-m-framework-close-thumbnail.png' source: '/usr/share/lipstick-glacier-home-qt5/qml/theme/icon-m-framework-close-thumbnail.png'
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment