forked from qt-creator/qt-creator
Make DocumentManager::projectsDirectory a FileName
Change-Id: I9454c2148c398939c64bfa6b1fc182670a1d5f99 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user