We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2cdeba commit b6e8667Copy full SHA for b6e8667
src/core/Agent.cpp
@@ -2,6 +2,8 @@
2
3
#include <polkitagent/polkitagent.h>
4
#include <print>
5
+#include <QtCore/QString>
6
+using namespace Qt::Literals::StringLiterals;
7
8
#include "Agent.hpp"
9
#include "../QMLIntegration.hpp"
@@ -64,7 +66,7 @@ void CAgent::initAuthPrompt() {
64
66
65
67
authState.qmlEngine = new QQmlApplicationEngine();
68
authState.qmlEngine->rootContext()->setContextProperty("hpa", authState.qmlIntegration);
- authState.qmlEngine->load(QUrl{u"qrc:/qt/qml/hpa/qml/main.qml"_qs});
69
+ authState.qmlEngine->load(QUrl{u"qrc:/qt/qml/hpa/qml/main.qml"_s});
70
71
authState.qmlIntegration->focusField();
72
}
0 commit comments