diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 81820b8fa0fbb5097e207c9e7b11f07b8d8dcf25..9856de8e4ee6daac4be2102b3dfa759de21b3f4d 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -178,7 +178,7 @@ VCSBase::VCSBaseEditor QTC_ASSERT(rc, return 0); rc->setSource(source); if (setSourceCodec) - rc->setCodec(VCSBase::VCSBaseEditor::getCodec(m_core, source)); + rc->setCodec(VCSBase::VCSBaseEditor::getCodec(source)); } return rc; }