aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/font
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2020-09-01 17:49:42 +0200
committerMitch Curtis <mitch.curtis@qt.io>2020-09-24 13:48:49 +0200
commit9219e86aa571d8b2f5da1ec92a461e5add38f57c (patch)
tree6ec0cbb5c678507637c62ad48e26278afa90c861 /tests/auto/font
parent74acbcc9f31aa2c64d076e1157979537d90d3f6d (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/auto/font')
-rw-r--r--tests/auto/font/tst_font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/font/tst_font.cpp b/tests/auto/font/tst_font.cpp
index 2bee1dce..0794e761 100644
--- a/tests/auto/font/tst_font.cpp
+++ b/tests/auto/font/tst_font.cpp
@@ -300,7 +300,7 @@ void tst_font::defaultFont()
QQmlComponent component(&engine);
component.setData(QString("import QtQuick.Controls; %1 { }").arg(control).toUtf8(), QUrl());
- // The call to setData() above causes QQuickDefaultTheme to be set as the current theme,
+ // The call to setData() above causes QQuickBasicTheme to be set as the current theme,
// so we must make sure we only set our theme afterwards.
QQuickThemePrivate::instance.reset(new TestFontTheme);