Adapt to changes in 4.11

Change-Id: Ie02d61ecdb1a636ca4d21b1e5b09bde530c1fdca
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2019-10-23 10:57:35 +02:00
parent 21f9cfd097
commit 6296335bf9
2 changed files with 5 additions and 5 deletions

View File

@@ -617,7 +617,7 @@ void FossilPlugin::createRepository()
// Find current starting directory
QString directory;
if (const ProjectExplorer::Project *currentProject = ProjectExplorer::ProjectTree::currentProject())
directory = currentProject->document()->filePath().toFileInfo().absolutePath();
directory = currentProject->projectDirectory().toString();
// Prompt for a directory that is not under version control yet
QWidget *mw = Core::ICore::mainWindow();
do {