aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/imagine
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2018-02-15 12:55:30 +0100
committerJ-P Nurmi <jpnurmi@qt.io>2018-02-15 12:26:20 +0000
commite689e8beb54c4a5101c105e52521251b314dd468 (patch)
tree71f58d452524d8f19c110f9741d03ffacc98a6ae /src/imports/controls/imagine
parent5b711c320c6810804adde39b04d3eedc12a409f4 (diff)
Cleanup unnecessary explicit references to QPlatformTheme
QQuickTheme is being separated from QPlatformTheme. Reduce references to QPlatformTheme to make the transition to QQuickTheme smoother. Task-number: QTBUG-51921 Change-Id: I6dbbe39bf0b465df16a88bcc26e2b2a32cc42c93 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/imports/controls/imagine')
-rw-r--r--src/imports/controls/imagine/qquickimaginetheme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/imagine/qquickimaginetheme.cpp b/src/imports/controls/imagine/qquickimaginetheme.cpp
index f6d78cbc..57646326 100644
--- a/src/imports/controls/imagine/qquickimaginetheme.cpp
+++ b/src/imports/controls/imagine/qquickimaginetheme.cpp
@@ -68,13 +68,13 @@ void QQuickImagineTheme::resolvePalettes(const QPalette &defaultPalette)
systemPalette = defaultPalette.resolve(systemPalette);
}
-const QFont *QQuickImagineTheme::font(QPlatformTheme::Font type) const
+const QFont *QQuickImagineTheme::font(Font type) const
{
Q_UNUSED(type);
return &systemFont;
}
-const QPalette *QQuickImagineTheme::palette(QPlatformTheme::Palette type) const
+const QPalette *QQuickImagineTheme::palette(Palette type) const
{
Q_UNUSED(type);
return &systemPalette;