diff options
author | Christian Stenger <christian.stenger@qt.io> | 2021-05-21 06:49:49 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2021-05-21 06:04:25 +0000 |
commit | c7797cfa5bc7587ca53f686c83e82fc5805ed5f5 (patch) | |
tree | a06cc712d93f57e51f9517c712eeae68e1a098a2 | |
parent | 395af1b83ecd79f35e7188e0b8e82d4eb0a1f23d (diff) |
Adapt to upstream changes
Change-Id: Ib6b36e98229e0f14d07a10ac35f66ff1e7f6379a
Reviewed-by: David Schulz <david.schulz@qt.io>
-rw-r--r-- | plugins/fossil/fossilplugin.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/fossil/fossilplugin.cpp b/plugins/fossil/fossilplugin.cpp index 46df19e..bc6dc8b 100644 --- a/plugins/fossil/fossilplugin.cpp +++ b/plugins/fossil/fossilplugin.cpp @@ -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; |