forked from qt-creator/qt-creator
Project: Use Utils::FileName as return type for projectDirectory(...)
Change-Id: I3ea10aa204b1ea41702edab09884b416cd6d9e06 Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
@@ -285,7 +285,7 @@ void StateListener::slotStateChanged()
|
||||
// Check for project, find the control
|
||||
Core::IVersionControl *projectControl = 0;
|
||||
if (const ProjectExplorer::Project *currentProject = ProjectExplorer::ProjectExplorerPlugin::currentProject()) {
|
||||
state.currentProjectPath = currentProject->projectDirectory();
|
||||
state.currentProjectPath = currentProject->projectDirectory().toString();
|
||||
state.currentProjectName = currentProject->displayName();
|
||||
projectControl = Core::VcsManager::findVersionControlForDirectory(state.currentProjectPath,
|
||||
&state.currentProjectTopLevel);
|
||||
|
||||
Reference in New Issue
Block a user