From 9219e86aa571d8b2f5da1ec92a461e5add38f57c Mon Sep 17 00:00:00 2001 From: Mitch Curtis Date: Tue, 1 Sep 2020 17:49:42 +0200 Subject: 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 --- tests/benchmarks/creationtime/tst_creationtime.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/benchmarks/creationtime/tst_creationtime.cpp') 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("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() -- cgit v1.2.3