src: string replace fix in filepath

This commit is contained in:
Andreas Stallinger
2016-04-26 08:51:46 +02:00
parent f9aed67776
commit c3a148833b
2 changed files with 2 additions and 2 deletions
@@ -159,7 +159,7 @@ bool QtProjectWizzardContentData::check()
return false;
}
if (!FilePath(m_projectFileLocation->getText().toStdString()).exists())
if (!FilePath(m_projectFileLocation->getText().toStdString()).expandEnvironmentVariables().exists())
{
QMessageBox msgBox;
msgBox.setText("The specified location does not exist.");