diff options
Diffstat (limited to 'src/imports/controls/material/qquickmaterialtheme.cpp')
-rw-r--r-- | src/imports/controls/material/qquickmaterialtheme.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/imports/controls/material/qquickmaterialtheme.cpp b/src/imports/controls/material/qquickmaterialtheme.cpp index ee98c35c..f64205bb 100644 --- a/src/imports/controls/material/qquickmaterialtheme.cpp +++ b/src/imports/controls/material/qquickmaterialtheme.cpp @@ -44,7 +44,7 @@ QQuickMaterialTheme::QQuickMaterialTheme(QPlatformTheme *theme) : QQuickProxyTheme(theme) { systemFont = QFont(QLatin1Literal("Roboto")); - dockWidgetTitleFont = QFont(QLatin1Literal("Roboto"), 10); + tabButtonFont = QFont(QLatin1Literal("Roboto"), 10); } QQuickMaterialTheme::~QQuickMaterialTheme() @@ -54,8 +54,8 @@ QQuickMaterialTheme::~QQuickMaterialTheme() const QFont *QQuickMaterialTheme::font(QPlatformTheme::Font type) const { switch (type) { - case QPlatformTheme::DockWidgetTitleFont: - return &dockWidgetTitleFont; + case QPlatformTheme::TabButtonFont: + return &tabButtonFont; default: return &systemFont; } |