1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-31 09:32:03 +02:00

fix busy indicator and use correct graphics

This commit is contained in:
Michael Zanetti
2012-12-16 18:08:00 +01:00
parent 078965f2bc
commit b3ea73c996
2 changed files with 18 additions and 10 deletions

View File

@@ -65,16 +65,6 @@ Rectangle {
height: stationListView.height
width: stationListView.width
Image {
id: busyIndicator
source: "../images/advanced-settings.svg"
anchors.centerIn: parent
height: defaultFontHeight * 4
width: height
visible: mainView.loading
RotationAnimation { target: busyIndicator; from: 360; to: 0; duration: 1500; running: visible; loops: Animation.Infinite }
}
CoverFlip {
id: coverView
anchors.fill: parent
@@ -94,6 +84,23 @@ Rectangle {
}
}
Image {
id: busyIndicator
source: "../images/loading-animation.svg"
anchors.centerIn: parent
height: defaultFontHeight * 4
width: height
visible: mainView.loading
RotationAnimation {
target: busyIndicator
from: 0
to: 360
duration: 1500
running: true
loops: Animation.Infinite
}
}
}
}

View File

@@ -170,5 +170,6 @@
<file>data/qml/DeclarativeHeader.qml</file>
<file>data/images/inputfield-border.svg</file>
<file>data/images/search-box-dismiss-x.svg</file>
<file>data/images/loading-animation.svg</file>
</qresource>
</RCC>