diff options
Diffstat (limited to 'tests/auto/palette')
-rw-r--r-- | tests/auto/palette/qtquickcontrols2.conf | 4 | ||||
-rw-r--r-- | tests/auto/palette/tst_palette.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/palette/qtquickcontrols2.conf b/tests/auto/palette/qtquickcontrols2.conf index 2ffc7ecc..c5de6b36 100644 --- a/tests/auto/palette/qtquickcontrols2.conf +++ b/tests/auto/palette/qtquickcontrols2.conf @@ -1,5 +1,5 @@ -[Default] +[Basic] Palette\Base=#efefef -[Default\Palette] +[Basic\Palette] Text=#101010 diff --git a/tests/auto/palette/tst_palette.cpp b/tests/auto/palette/tst_palette.cpp index 814d5a11..c42b17a3 100644 --- a/tests/auto/palette/tst_palette.cpp +++ b/tests/auto/palette/tst_palette.cpp @@ -294,7 +294,7 @@ void tst_palette::defaultPalette() 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. std::unique_ptr<QQuickTheme> oldTheme(QQuickThemePrivate::instance.take()); QQuickThemePrivate::instance.reset(new TestTheme); |