diff options
| author | Kaj Grönholm <kaj.gronholm@qt.io> | 2025-02-28 17:09:06 +0200 |
|---|---|---|
| committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2025-03-01 15:43:41 +0000 |
| commit | 5cbe1e8c1a5f64579ecce66c310545cf3c463705 (patch) | |
| tree | 9868ac97a68935aafade08c99a9f637ebcb5ae62 | |
| parent | 6df0896740741cb745f5e3104c8ee0459e2231f4 (diff) | |
Tag error string with _L1 literal operator
This one was left from 121eec233e457f561c
Pick-to: 6.8
Change-Id: I9d7968145ec2969c4195c8747d1e74c3d4640092
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 42563b4bce53075f1b02454273ff5f76a292818e)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
| -rw-r--r-- | src/qmlformat/qqmlformatoptions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmlformat/qqmlformatoptions.cpp b/src/qmlformat/qqmlformatoptions.cpp index bea59a2827..6050ed1afd 100644 --- a/src/qmlformat/qqmlformatoptions.cpp +++ b/src/qmlformat/qqmlformatoptions.cpp @@ -199,7 +199,7 @@ QQmlFormatOptions QQmlFormatOptions::buildCommandLineOptions(const QStringList & const QString path = parser.value("files"_L1); QFile file(path); if (!file.open(QIODevice::Text | QIODevice::ReadOnly)) { - options.addError("Error: Could not open file \"" + path + "\" for option -F."_L1); + options.addError("Error: Could not open file \""_L1 + path + "\" for option -F."_L1); return options; } |
