Cppcheck warning.
(grafted from 5fb12906763ccf0b28ee1e2037196556fb9297eb) --HG-- branch : develop
This commit is contained in:
parent
9dd6de3bd1
commit
8e7ea0f45f
|
@ -4502,8 +4502,8 @@ QString MainWindow::CheckPathToMeasurements(const QString &patternPath, const QS
|
||||||
const QString filter = tr("Individual measurements") + QLatin1String(" (*.vit);;") +
|
const QString filter = tr("Individual measurements") + QLatin1String(" (*.vit);;") +
|
||||||
tr("Multisize measurements") + QLatin1String(" (*.vst)");
|
tr("Multisize measurements") + QLatin1String(" (*.vst)");
|
||||||
//Use standard path to individual measurements
|
//Use standard path to individual measurements
|
||||||
QString path = qApp->ValentinaSettings()->GetPathIndividualMeasurements();
|
const QString path = qApp->ValentinaSettings()->GetPathIndividualMeasurements();
|
||||||
path = VCommonSettings::PrepareStandardTables(VCommonSettings::GetDefPathStandardMeasurements());
|
VCommonSettings::PrepareStandardTables(VCommonSettings::GetDefPathStandardMeasurements());
|
||||||
|
|
||||||
bool usedNotExistedDir = false;
|
bool usedNotExistedDir = false;
|
||||||
QDir directory(path);
|
QDir directory(path);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user