forked from qt-creator/qt-creator
Adapt to changes in 4.11
Change-Id: Ie02d61ecdb1a636ca4d21b1e5b09bde530c1fdca Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user