Utils: Return FilePath from PathChooser::homePath()

Change-Id: Ib67435cb828e6bb55f76bfd6eb13165f46922c00
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2021-08-16 09:43:03 +02:00
parent 906348ed50
commit 0416e15612
7 changed files with 12 additions and 13 deletions

View File

@@ -1208,8 +1208,7 @@ void GitPluginPrivate::startChangeRelatedAction(const Id &id)
{
const VcsBasePluginState state = currentState();
ChangeSelectionDialog dialog(state.hasTopLevel()
? state.topLevel() : FilePath::fromString(PathChooser::homePath()),
ChangeSelectionDialog dialog(state.hasTopLevel() ? state.topLevel() : PathChooser::homePath(),
id, ICore::dialogParent());
int result = dialog.exec();