Cppcheck warning.

(grafted from 5fb12906763ccf0b28ee1e2037196556fb9297eb)

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-06-05 18:25:36 +03:00
parent 9dd6de3bd1
commit 8e7ea0f45f

View File

@ -4502,8 +4502,8 @@ QString MainWindow::CheckPathToMeasurements(const QString &patternPath, const QS
const QString filter = tr("Individual measurements") + QLatin1String(" (*.vit);;") +
tr("Multisize measurements") + QLatin1String(" (*.vst)");
//Use standard path to individual measurements
QString path = qApp->ValentinaSettings()->GetPathIndividualMeasurements();
path = VCommonSettings::PrepareStandardTables(VCommonSettings::GetDefPathStandardMeasurements());
const QString path = qApp->ValentinaSettings()->GetPathIndividualMeasurements();
VCommonSettings::PrepareStandardTables(VCommonSettings::GetDefPathStandardMeasurements());
bool usedNotExistedDir = false;
QDir directory(path);