aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/material/qquickmaterialtheme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/material/qquickmaterialtheme.cpp')
-rw-r--r--src/imports/controls/material/qquickmaterialtheme.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/imports/controls/material/qquickmaterialtheme.cpp b/src/imports/controls/material/qquickmaterialtheme.cpp
index ee98c35c..75ca1b8f 100644
--- a/src/imports/controls/material/qquickmaterialtheme.cpp
+++ b/src/imports/controls/material/qquickmaterialtheme.cpp
@@ -43,8 +43,8 @@ QT_BEGIN_NAMESPACE
QQuickMaterialTheme::QQuickMaterialTheme(QPlatformTheme *theme)
: QQuickProxyTheme(theme)
{
- systemFont = QFont(QLatin1Literal("Roboto"));
- dockWidgetTitleFont = QFont(QLatin1Literal("Roboto"), 10);
+ systemFont = QFont(QStringLiteral("Roboto"));
+ tabButtonFont = QFont(QStringLiteral("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;
}