61 # find the root of the repo |
61 # find the root of the repo |
62 repodir = self.__vcs.findRepoRoot(projectDir) |
62 repodir = self.__vcs.findRepoRoot(projectDir) |
63 if not repodir: |
63 if not repodir: |
64 return |
64 return |
65 |
65 |
66 dlg = GitPatchFilesDialog(repodir, patchCheckData) |
66 dlg = GitPatchFilesDialog(repodir, patchCheckData, parent=self) |
67 if dlg.exec() == QDialog.DialogCode.Accepted: |
67 if dlg.exec() == QDialog.DialogCode.Accepted: |
68 patchFilesList, stripCount, inaccurateEof, recount = dlg.getData() |
68 patchFilesList, stripCount, inaccurateEof, recount = dlg.getData() |
69 self.__patchCheckData = (patchFilesList, stripCount, inaccurateEof, recount) |
69 self.__patchCheckData = (patchFilesList, stripCount, inaccurateEof, recount) |
70 if patchFilesList: |
70 if patchFilesList: |
71 process = QProcess() |
71 process = QProcess() |