aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2015-12-16 02:57:47 +0400
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-16 08:46:47 +0000
commit693b4001df440f7e629ad7f7c5c772e251e0be59 (patch)
tree420a4d000d48110d063f82a5f37ecda352a7eb23
parentac0d82ffdd4caf606aef45b0f7a9ba2e05b3cc6e (diff)
Replace QLatin1Literal occurrences with QStringLiteral
Change-Id: I37bd9dd933c2125dbe6d382bf6d0a6a46b31c1dd Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r--src/imports/controls/material/qquickmaterialtheme.cpp4
-rw-r--r--src/imports/controls/universal/qquickuniversaltheme.cpp4
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);
}