mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-03-31 20:40:58 +00:00
Solve cppcheck warnings
This commit is contained in:
@@ -48,9 +48,9 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
QTranslator translator;
|
||||
QStringList trPaths = PathInfo::translationsPaths();
|
||||
bool match = false;
|
||||
|
||||
for (const QString &path: trPaths) {
|
||||
match = translator.load(QLocale::system().language(),
|
||||
bool match = translator.load(QLocale::system().language(),
|
||||
"Internationalization", "_",
|
||||
path);
|
||||
if (match) {
|
||||
|
||||
Reference in New Issue
Block a user