forked from qt-creator/qt-creator
Replace QFileInfo::fileName() with FileName::fileName()
Change-Id: I4852ff215abf25649fc5eac1e922ae901839ca3d Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -63,7 +63,7 @@ static QString shadowBuildDirectory(const QString &projectFilePath, const Kit *k
|
||||
return QString();
|
||||
QFileInfo info(projectFilePath);
|
||||
|
||||
const QString projectName = QFileInfo(info.absolutePath()).fileName();
|
||||
const QString projectName = FileName::fromString(info.absolutePath()).fileName();
|
||||
ProjectMacroExpander expander(projectName, k, bcName);
|
||||
QDir projectDir = QDir(Project::projectDirectory(FileName::fromString(projectFilePath)).toString());
|
||||
QString buildPath = expander.expand(Core::DocumentManager::buildDirectory());
|
||||
|
||||
Reference in New Issue
Block a user