diff --git a/src/core/Agent.cpp b/src/core/Agent.cpp index c9a7825..f3c579b 100644 --- a/src/core/Agent.cpp +++ b/src/core/Agent.cpp @@ -2,6 +2,8 @@ #include #include +#include +using namespace Qt::Literals::StringLiterals; #include "Agent.hpp" #include "../QMLIntegration.hpp" @@ -64,7 +66,7 @@ void CAgent::initAuthPrompt() { authState.qmlEngine = new QQmlApplicationEngine(); authState.qmlEngine->rootContext()->setContextProperty("hpa", authState.qmlIntegration); - authState.qmlEngine->load(QUrl{u"qrc:/qt/qml/hpa/qml/main.qml"_qs}); + authState.qmlEngine->load(QUrl{u"qrc:/qt/qml/hpa/qml/main.qml"_s}); authState.qmlIntegration->focusField(); }