Make DocumentManager::projectsDirectory a FileName

Change-Id: I9454c2148c398939c64bfa6b1fc182670a1d5f99
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Eike Ziller
2017-09-18 12:30:56 +02:00
parent a7e2d0cff0
commit 8e62881b12
10 changed files with 29 additions and 23 deletions

View File

@@ -520,7 +520,7 @@ QString GerritPlugin::findLocalRepository(QString project, const QString &branch
} // for repositories
// No match, do we have a projects folder?
if (DocumentManager::useProjectsDirectory())
return DocumentManager::projectsDirectory();
return DocumentManager::projectsDirectory().toString();
return QDir::currentPath();
}