forked from qt-creator/qt-creator
VcsBase: Create common base diff editor controller
Reuse it in subversion and git plugins. It makes subversion diff more asynchronous than before. Make VcsBase plugin dependand on DiffEditor plugin. Change-Id: Iafea2941b890a95a269362e022af2dc03cdea550 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Subversion {
|
||||
namespace Internal {
|
||||
|
||||
class SubversionSettings;
|
||||
class DiffController;
|
||||
class SubversionDiffEditorController;
|
||||
|
||||
class SubversionClient : public VcsBase::VcsBaseClient
|
||||
{
|
||||
@@ -78,7 +78,7 @@ protected:
|
||||
Core::Id vcsEditorKind(VcsCommandTag cmd) const override;
|
||||
|
||||
private:
|
||||
DiffController *findOrCreateDiffEditor(const QString &documentId, const QString &source,
|
||||
SubversionDiffEditorController *findOrCreateDiffEditor(const QString &documentId, const QString &source,
|
||||
const QString &title, const QString &workingDirectory) const;
|
||||
|
||||
mutable Utils::FileName m_svnVersionBinary;
|
||||
|
||||
Reference in New Issue
Block a user