Use RotationAnimator for BusyIndicator

This makes the animation run directly on the scene graph to not stress the CPU that much

REVIEW: 118769
CCBUG: 311799
CCBUG: 336274
This commit is contained in:
Kai Uwe Broulik 2014-06-15 22:28:21 +02:00
parent 001e37987f
commit 60ddc9f25d

View File

@ -18,7 +18,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 2.010-1301, USA.
*/
import QtQuick 2.1
import QtQuick 2.2
import org.kde.plasma.core 2.0 as PlasmaCore
/**
@ -58,7 +58,7 @@ Item {
rotationAnimation.to = rotation + 360;
}
RotationAnimation on rotation {
RotationAnimator on rotation {
id: rotationAnimation
from: 0