forked from qt-creator/qt-creator
Introduce Project::projectFilePath()
Use it instead of retrieving this information from the document. Change-Id: I809fcb2daf59021cf503c371a5d40d75d7448796 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -153,7 +153,7 @@ QString QmlProjectRunConfiguration::viewerArguments() const
|
||||
|
||||
QString QmlProjectRunConfiguration::workingDirectory() const
|
||||
{
|
||||
QFileInfo projectFile(target()->project()->document()->filePath());
|
||||
QFileInfo projectFile(target()->project()->projectFilePath());
|
||||
return canonicalCapsPath(projectFile.absolutePath());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user