aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/controls/qquickbusyindicator.cpp2
-rw-r--r--tests/auto/controls/data/tst_busyindicator.qml4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/controls/qquickbusyindicator.cpp b/src/controls/qquickbusyindicator.cpp
index 8e0faf0c..ef7320ac 100644
--- a/src/controls/qquickbusyindicator.cpp
+++ b/src/controls/qquickbusyindicator.cpp
@@ -53,7 +53,7 @@ QT_BEGIN_NAMESPACE
class QQuickBusyIndicatorPrivate : public QQuickControlPrivate
{
public:
- QQuickBusyIndicatorPrivate() : running(false), indicator(Q_NULLPTR) { }
+ QQuickBusyIndicatorPrivate() : running(true), indicator(Q_NULLPTR) { }
bool running;
QQuickItem *indicator;
diff --git a/tests/auto/controls/data/tst_busyindicator.qml b/tests/auto/controls/data/tst_busyindicator.qml
index e4f07a8a..66628a24 100644
--- a/tests/auto/controls/data/tst_busyindicator.qml
+++ b/tests/auto/controls/data/tst_busyindicator.qml
@@ -57,9 +57,9 @@ TestCase {
function test_running() {
var control = busyIndicator.createObject(testCase)
- compare(control.running, false)
- control.running = true
compare(control.running, true)
+ control.running = false
+ compare(control.running, false)
control.destroy()
}
}