Skip to content

Commit

Permalink
[AppLauncher] Add default icon
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Dec 6, 2016
1 parent 68050fe commit 34a897e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qml/AppLauncher.qml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ GridView {
id: launcherItem
width: gridview.cellWidth
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
}
}
2 changes: 1 addition & 1 deletion src/qml/CloseButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Image {
id: closeButton
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 {
anchors.fill: parent
Expand Down
Binary file added src/qml/theme/default_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34a897e

Please sign in to comment.