summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Application/DataInputSelectView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Application/DataInputSelectView.cpp')
-rw-r--r--src/Authoring/Studio/Application/DataInputSelectView.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Authoring/Studio/Application/DataInputSelectView.cpp b/src/Authoring/Studio/Application/DataInputSelectView.cpp
index 59c1f0a0..1145f584 100644
--- a/src/Authoring/Studio/Application/DataInputSelectView.cpp
+++ b/src/Authoring/Studio/Application/DataInputSelectView.cpp
@@ -180,10 +180,10 @@ void DataInputSelectView::focusOutEvent(QFocusEvent *event)
void DataInputSelectView::initialize()
{
CStudioPreferences::setQmlContextProperties(rootContext());
- rootContext()->setContextProperty("_resDir"_L1,
- resourceImageUrl());
- rootContext()->setContextProperty("_dataInputSelectView"_L1, this);
- rootContext()->setContextProperty("_dataInputSelectModel"_L1, m_model);
- engine()->addImportPath(qmlImportPath());
- setSource(QUrl("qrc:/Palettes/Inspector/DataInputChooser.qml"_L1));
+ rootContext()->setContextProperty(QStringLiteral("_resDir"),
+ StudioUtils::resourceImageUrl());
+ rootContext()->setContextProperty(QStringLiteral("_dataInputSelectView"), this);
+ rootContext()->setContextProperty(QStringLiteral("_dataInputSelectModel"), m_model);
+ engine()->addImportPath(StudioUtils::qmlImportPath());
+ setSource(QUrl(QStringLiteral("qrc:/Palettes/Inspector/DataInputChooser.qml")));
}