Skip to content

Commit

Permalink
added fallback cover content
Browse files Browse the repository at this point in the history
  • Loading branch information
cnlpete committed Jan 2, 2015
1 parent 6c9bff7 commit 859709d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions qml/cover/CoverPage.qml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,20 @@ import QtQuick 2.0
import Sailfish.Silica 1.0

CoverBackground {
Column {
visible: previewImage.source == ""
anchors.centerIn: parent
Image {
source: Qt.resolvedUrl("/usr/share/icons/hicolor/86x86/apps/"
+ "harbour-trulyyours.png")
anchors.horizontalCenter: parent.horizontalCenter
}
Label {
anchors.horizontalCenter: parent.horizontalCenter
text: "Truly Yours"
}
}

Image {
id: previewImage
anchors.centerIn: parent
Expand Down

0 comments on commit 859709d

Please sign in to comment.