summaryrefslogtreecommitdiffstats
path: root/examples/applicationmanager/custom-appman/custom-appman.cpp
diff options
context:
space:
mode:
authorRobert Griebl <robert.griebl@qt.io>2021-08-15 00:37:02 +0200
committerRobert Griebl <robert.griebl@qt.io>2021-08-17 18:52:39 +0200
commitd7a23d6d73f00919e0225cc4759504389fbb7c86 (patch)
tree0b42c3c5993108fc49d837dd716ce5910ae1412e /examples/applicationmanager/custom-appman/custom-appman.cpp
parentd92730320d4e6af4c7c839ff1b941870b6d5ab14 (diff)
Clazy: fix examples
Also replaced qSL/qL1S with the original, non-macro versions. Change-Id: Ied8f4e8ee750ce0f6b7bf7e7800608c2b39c71d1 Reviewed-by: Dominik Holland <dominik.holland@qt.io>
Diffstat (limited to 'examples/applicationmanager/custom-appman/custom-appman.cpp')
-rw-r--r--examples/applicationmanager/custom-appman/custom-appman.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/applicationmanager/custom-appman/custom-appman.cpp b/examples/applicationmanager/custom-appman/custom-appman.cpp
index 0739524c..3fd3c311 100644
--- a/examples/applicationmanager/custom-appman/custom-appman.cpp
+++ b/examples/applicationmanager/custom-appman/custom-appman.cpp
@@ -62,8 +62,8 @@ QT_USE_NAMESPACE_AM
Q_DECL_EXPORT int main(int argc, char *argv[])
{
- QCoreApplication::setApplicationName(qSL("Custom Application Manager"));
- QCoreApplication::setApplicationVersion(qSL("0.1"));
+ QCoreApplication::setApplicationName(QStringLiteral("Custom Application Manager"));
+ QCoreApplication::setApplicationVersion(QStringLiteral("0.1"));
Logging::initialize(argc, argv);
Sudo::forkServer(Sudo::DropPrivilegesPermanently);