[education/rkward] rkward/rbackend: Merge branch 'work/cppcheck'
Thomas Friedrichsmeier
null at kde.org
Sun May 12 16:32:29 BST 2024
Git commit d58053454b396eb8e154c1b9d8f1d09cdfac3cdf by Thomas Friedrichsmeier.
Committed on 12/05/2024 at 15:32.
Pushed by tfry into branch 'master'.
Merge branch 'work/cppcheck'
M +1 -1 rkward/rbackend/rkfrontendtransmitter.cpp
https://invent.kde.org/education/rkward/-/commit/d58053454b396eb8e154c1b9d8f1d09cdfac3cdf
diff --cc rkward/rbackend/rkfrontendtransmitter.cpp
index 72465bcce,c2dafdc30..90d833a6d
--- a/rkward/rbackend/rkfrontendtransmitter.cpp
+++ b/rkward/rbackend/rkfrontendtransmitter.cpp
@@@ -122,7 -122,7 +122,7 @@@ void RKFrontendTransmitter::run ()
QStringList env = QProcess::systemEnvironment ();
// Try to synchronize language selection in frontend and backend
- int index = env.indexOf(QRegularExpression(QStringLiteral("^LANGUAGE=.*"), QRegularExpression::CaseInsensitiveOption)); // clazy:exclude=use-static-quregularexpression ; it'LL only be craeted once
- int index = env.indexOf(QRegularExpression(QStringLiteral("^LANGUAGE=.*"), QRegularExpression::CaseInsensitiveOption)); // clazy:exclude=use-static-qregularexpression ; it'LL only be craeted once
++ int index = env.indexOf(QRegularExpression(QStringLiteral("^LANGUAGE=.*"), QRegularExpression::CaseInsensitiveOption)); // clazy:exclude=use-static-qregularexpression ; it'll only be craeted once
if (index >= 0) env.removeAt (index);
env.append ("LANGUAGE=" + QLocale ().name ().section ('_', 0, 0));
More information about the rkward-tracker
mailing list