From 693b4001df440f7e629ad7f7c5c772e251e0be59 Mon Sep 17 00:00:00 2001 From: Konstantin Ritt Date: Wed, 16 Dec 2015 02:57:47 +0400 Subject: Replace QLatin1Literal occurrences with QStringLiteral Change-Id: I37bd9dd933c2125dbe6d382bf6d0a6a46b31c1dd Reviewed-by: J-P Nurmi --- src/imports/controls/material/qquickmaterialtheme.cpp | 4 ++-- src/imports/controls/universal/qquickuniversaltheme.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/imports/controls/material/qquickmaterialtheme.cpp b/src/imports/controls/material/qquickmaterialtheme.cpp index f64205bb..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")); - tabButtonFont = QFont(QLatin1Literal("Roboto"), 10); + systemFont = QFont(QStringLiteral("Roboto")); + tabButtonFont = QFont(QStringLiteral("Roboto"), 10); } QQuickMaterialTheme::~QQuickMaterialTheme() diff --git a/src/imports/controls/universal/qquickuniversaltheme.cpp b/src/imports/controls/universal/qquickuniversaltheme.cpp index 676af1b9..e3899d53 100644 --- a/src/imports/controls/universal/qquickuniversaltheme.cpp +++ b/src/imports/controls/universal/qquickuniversaltheme.cpp @@ -43,11 +43,11 @@ QT_BEGIN_NAMESPACE QQuickUniversalTheme::QQuickUniversalTheme(QPlatformTheme *theme) : QQuickProxyTheme(theme) { - systemFont = QFont(QLatin1Literal("Segoe UI")); + systemFont = QFont(QStringLiteral("Segoe UI")); systemFont.setPixelSize(15); groupBoxTitleFont = systemFont; groupBoxTitleFont.setWeight(QFont::DemiBold); - tabButtonFont = QFont(QLatin1Literal("Segoe UI")); + tabButtonFont = QFont(QStringLiteral("Segoe UI")); tabButtonFont.setPixelSize(24); tabButtonFont.setWeight(QFont::Light); } -- cgit v1.2.3