Adapt to upstream changes

Change-Id: Ib6b36e98229e0f14d07a10ac35f66ff1e7f6379a
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2021-05-21 06:49:49 +02:00
parent 395af1b83e
commit c7797cfa5b

View File

@@ -714,7 +714,8 @@ void FossilPluginPrivate::showCommitWidget(const QList<VcsBase::VcsBaseClient::S
return;
}
Core::IEditor *editor = Core::EditorManager::openEditor(saver.fileName(), Constants::COMMIT_ID);
Core::IEditor *editor = Core::EditorManager::openEditor(saver.filePath().toString(),
Constants::COMMIT_ID);
if (!editor) {
VcsBase::VcsOutputWindow::appendError(tr("Unable to create an editor for the commit."));
return;