diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2020-09-01 17:49:42 +0200 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2020-09-24 13:48:49 +0200 |
commit | 9219e86aa571d8b2f5da1ec92a461e5add38f57c (patch) | |
tree | 6ec0cbb5c678507637c62ad48e26278afa90c861 /tests/benchmarks/creationtime/tst_creationtime.cpp | |
parent | 74acbcc9f31aa2c64d076e1157979537d90d3f6d (diff) |
Rename "Default" style to "Basic"
[ChangeLog][Styles] The Default style was renamed to Basic to account
for the introduction of the platform styles (macOS, Windows), which
will be used by default (where possible) when no style is specified.
Fixes: QTBUG-85984
Task-number: QTBUG-68814
Task-number: QTBUG-86403
Change-Id: I22b3199c8662e4ee5d55a1be1a51c9856ac62376
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/benchmarks/creationtime/tst_creationtime.cpp')
-rw-r--r-- | tests/benchmarks/creationtime/tst_creationtime.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/benchmarks/creationtime/tst_creationtime.cpp b/tests/benchmarks/creationtime/tst_creationtime.cpp index d186dc83..87869bca 100644 --- a/tests/benchmarks/creationtime/tst_creationtime.cpp +++ b/tests/benchmarks/creationtime/tst_creationtime.cpp @@ -51,8 +51,8 @@ private slots: void initTestCase(); void init(); - void defaultStyle(); - void defaultStyle_data(); + void basicStyle(); + void basicStyle_data(); void fusion(); void fusion_data(); @@ -102,16 +102,16 @@ static void doBenchmark(QQuickStyleHelper &styleHelper, const QUrl &url) qDeleteAll(objects); } -void tst_CreationTime::defaultStyle() +void tst_CreationTime::basicStyle() { QFETCH(QUrl, url); doBenchmark(styleHelper, url); } -void tst_CreationTime::defaultStyle_data() +void tst_CreationTime::basicStyle_data() { QTest::addColumn<QUrl>("url"); - addTestRowForEachControl(styleHelper.engine.data(), "controls/default", "QtQuick/Controls/Default", QStringList() << "ApplicationWindow"); + addTestRowForEachControl(styleHelper.engine.data(), "controls/basic", "QtQuick/Controls/Basic", QStringList() << "ApplicationWindow"); } void tst_CreationTime::fusion() |