GUI: Fix selfcheck shadowVariable warning
This commit is contained in:
parent
ba402f3e50
commit
866aeff1ae
|
@ -852,8 +852,7 @@ Settings MainWindow::getCppcheckSettings()
|
||||||
|
|
||||||
Settings result;
|
Settings result;
|
||||||
|
|
||||||
const QString applicationFilePath = QCoreApplication::applicationFilePath();
|
result.exename = QCoreApplication::applicationFilePath().toStdString();
|
||||||
result.exename = applicationFilePath.toStdString();
|
|
||||||
|
|
||||||
const bool std = tryLoadLibrary(&result.library, "std.cfg");
|
const bool std = tryLoadLibrary(&result.library, "std.cfg");
|
||||||
bool posix = true;
|
bool posix = true;
|
||||||
|
|
Loading…
Reference in New Issue