diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-11 19:40:11 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-06-13 23:07:35 +0000 |
commit | 885cd63e8f8fa11b4f97cd45c32af2b2b9f7e6ce (patch) | |
tree | 3cf83ffefe4b02c54553d18aa15ff9d9b34992ac /src/plugins/studiowelcome | |
parent | db7aa20d12faf01651b6f9adc353df2368531ee1 (diff) | |
download | qt-creator-885cd63e8f8fa11b4f97cd45c32af2b2b9f7e6ce.tar.gz |
Port from QLatin1Literal to QLatin1String
QLatin1Literal is an undocumented and deprecated typedef
for QLatin1String, just use the original.
Change-Id: I42347a2128e7b4280aaafeea5ebdee5a1b623c82
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/studiowelcome')
-rw-r--r-- | src/plugins/studiowelcome/studiowelcomeplugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/studiowelcome/studiowelcomeplugin.cpp b/src/plugins/studiowelcome/studiowelcomeplugin.cpp index 864acf4e83..cc22057660 100644 --- a/src/plugins/studiowelcome/studiowelcomeplugin.cpp +++ b/src/plugins/studiowelcome/studiowelcomeplugin.cpp @@ -226,9 +226,9 @@ void StudioWelcomePlugin::extensionsInitialized() s_view->setWindowModality(Qt::ApplicationModal); s_view->engine()->addImportPath("qrc:/studiofonts"); #ifdef QT_DEBUG - s_view->engine()->addImportPath(QLatin1Literal(STUDIO_QML_PATH) + s_view->engine()->addImportPath(QLatin1String(STUDIO_QML_PATH) + "splashscreen/imports"); - s_view->setSource(QUrl::fromLocalFile(QLatin1Literal(STUDIO_QML_PATH) + s_view->setSource(QUrl::fromLocalFile(QLatin1String(STUDIO_QML_PATH) + "splashscreen/main.qml")); #else s_view->engine()->addImportPath("qrc:/qml/splashscreen/imports"); @@ -287,9 +287,9 @@ WelcomeMode::WelcomeMode() m_modeWidget->setResizeMode(QQuickWidget::SizeRootObjectToView); m_modeWidget->engine()->addImportPath("qrc:/studiofonts"); #ifdef QT_DEBUG - m_modeWidget->engine()->addImportPath(QLatin1Literal(STUDIO_QML_PATH) + m_modeWidget->engine()->addImportPath(QLatin1String(STUDIO_QML_PATH) + "welcomepage/imports"); - m_modeWidget->setSource(QUrl::fromLocalFile(QLatin1Literal(STUDIO_QML_PATH) + m_modeWidget->setSource(QUrl::fromLocalFile(QLatin1String(STUDIO_QML_PATH) + "welcomepage/main.qml")); #else m_modeWidget->engine()->addImportPath("qrc:/qml/welcomepage/imports"); |