diff options
Diffstat (limited to 'src/Authoring/Studio/Palettes/Action/EventsBrowserView.cpp')
-rw-r--r-- | src/Authoring/Studio/Palettes/Action/EventsBrowserView.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Authoring/Studio/Palettes/Action/EventsBrowserView.cpp b/src/Authoring/Studio/Palettes/Action/EventsBrowserView.cpp index 7dcb682d..891498cc 100644 --- a/src/Authoring/Studio/Palettes/Action/EventsBrowserView.cpp +++ b/src/Authoring/Studio/Palettes/Action/EventsBrowserView.cpp @@ -96,10 +96,10 @@ void EventsBrowserView::focusOutEvent(QFocusEvent *event) void EventsBrowserView::initialize() { CStudioPreferences::setQmlContextProperties(rootContext()); - rootContext()->setContextProperty("_eventsBrowserView"_L1, this); - rootContext()->setContextProperty("_resDir"_L1, - resourceImageUrl()); - engine()->addImportPath(qmlImportPath()); - setSource(QUrl("qrc:/Palettes/Action/EventsBrowser.qml"_L1)); + rootContext()->setContextProperty(QStringLiteral("_eventsBrowserView"), this); + rootContext()->setContextProperty(QStringLiteral("_resDir"), + StudioUtils::resourceImageUrl()); + engine()->addImportPath(StudioUtils::qmlImportPath()); + setSource(QUrl(QStringLiteral("qrc:/Palettes/Action/EventsBrowser.qml"))); } |