summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Slide/SlideView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Palettes/Slide/SlideView.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/Slide/SlideView.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Authoring/Studio/Palettes/Slide/SlideView.cpp b/src/Authoring/Studio/Palettes/Slide/SlideView.cpp
index 19695809..7346ed63 100644
--- a/src/Authoring/Studio/Palettes/Slide/SlideView.cpp
+++ b/src/Authoring/Studio/Palettes/Slide/SlideView.cpp
@@ -391,11 +391,11 @@ void SlideView::updateDataInputStatus()
void SlideView::initialize()
{
CStudioPreferences::setQmlContextProperties(rootContext());
- rootContext()->setContextProperty("_parentView"_L1, this);
- rootContext()->setContextProperty("_resDir"_L1, resourceImageUrl());
+ rootContext()->setContextProperty(QStringLiteral("_parentView"), this);
+ rootContext()->setContextProperty(QStringLiteral("_resDir"), StudioUtils::resourceImageUrl());
- engine()->addImportPath(qmlImportPath());
- setSource(QUrl("qrc:/Palettes/Slide/SlideView.qml"_L1));
+ engine()->addImportPath(StudioUtils::qmlImportPath());
+ setSource(QUrl(QStringLiteral("qrc:/Palettes/Slide/SlideView.qml")));
const QVector<EDataType> acceptedTypes = { EDataType::DataTypeString };
m_dataInputSelector = new DataInputSelectView(acceptedTypes, this);