summaryrefslogtreecommitdiffstats
path: root/src/Authoring/Studio/Palettes/Inspector/ImageChooserView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authoring/Studio/Palettes/Inspector/ImageChooserView.cpp')
-rw-r--r--src/Authoring/Studio/Palettes/Inspector/ImageChooserView.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/ImageChooserView.cpp b/src/Authoring/Studio/Palettes/Inspector/ImageChooserView.cpp
index 2863ae5f..b05a77ba 100644
--- a/src/Authoring/Studio/Palettes/Inspector/ImageChooserView.cpp
+++ b/src/Authoring/Studio/Palettes/Inspector/ImageChooserView.cpp
@@ -56,12 +56,12 @@ ImageChooserView::ImageChooserView(QWidget *parent)
void ImageChooserView::initialize()
{
CStudioPreferences::setQmlContextProperties(rootContext());
- rootContext()->setContextProperty("_resDir"_L1,
- resourceImageUrl());
- rootContext()->setContextProperty("_imageChooserView"_L1, this);
- rootContext()->setContextProperty("_imageChooserModel"_L1, m_model);
- engine()->addImportPath(qmlImportPath());
- setSource(QUrl("qrc:/Palettes/Inspector/ImageChooser.qml"_L1));
+ rootContext()->setContextProperty(QStringLiteral("_resDir"),
+ StudioUtils::resourceImageUrl());
+ rootContext()->setContextProperty(QStringLiteral("_imageChooserView"), this);
+ rootContext()->setContextProperty(QStringLiteral("_imageChooserModel"), m_model);
+ engine()->addImportPath(StudioUtils::qmlImportPath());
+ setSource(QUrl(QStringLiteral("qrc:/Palettes/Inspector/ImageChooser.qml")));
}
QSize ImageChooserView::sizeHint() const