--- a/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/transplant.py Tue May 31 09:46:03 2011 +0200 +++ b/Plugins/VcsPlugins/vcsMercurial/TransplantExtension/transplant.py Tue May 31 10:31:06 2011 +0200 @@ -9,15 +9,15 @@ import os -from PyQt4.QtCore import QObject from PyQt4.QtGui import QDialog +from ..HgExtension import HgExtension from ..HgDialog import HgDialog from .TransplantDialog import TransplantDialog -class Transplant(QObject): +class Transplant(HgExtension): """ Class implementing the transplant extension interface. """ @@ -27,15 +27,7 @@ @param vcs reference to the Mercurial vcs object """ - QObject.__init__(self, vcs) - - self.vcs = vcs - - def shutdown(self): - """ - Public method used to shutdown the transplant interface. - """ - pass + super().__init__(vcs) def hgTransplant(self, path): """