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:
parent
001e37987f
commit
60ddc9f25d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user