diff options
author | J-P Nurmi <jpnurmi@qt.io> | 2018-05-16 13:57:00 +0200 |
---|---|---|
committer | J-P Nurmi <jpnurmi@qt.io> | 2018-05-22 14:20:53 +0000 |
commit | 1a3c1a089ff088482c9d093f4fa002e2d47cc103 (patch) | |
tree | bc6c399af2fe531de7cc4851df0efe9fc5f4170f /tests/auto/font | |
parent | f40dc11886e8130bad5771ed80920e6e72dfc09e (diff) |
QQuickTheme: rename themeFont() and themePalette()
We don't have the conflicting virtual getters anymore.
Change-Id: Ia20bfa0a0b1aa67c35a23270eb0241018f8e0ada
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/font')
-rw-r--r-- | tests/auto/font/tst_font.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/font/tst_font.cpp b/tests/auto/font/tst_font.cpp index d01e928d..6746e39e 100644 --- a/tests/auto/font/tst_font.cpp +++ b/tests/auto/font/tst_font.cpp @@ -303,7 +303,7 @@ void tst_font::defaultFont() QVariant var = object->property("font"); QVERIFY(var.isValid()); - QFont expectedFont = QQuickTheme::themeFont(scope); + QFont expectedFont = QQuickTheme::font(scope); QFont actualFont = var.value<QFont>(); QCOMPARE(actualFont, expectedFont); } |