100 self.__pluginHelpDocuments, |
100 self.__pluginHelpDocuments, |
101 QtHelpDocumentationSelectionDialog.AddMode, |
101 QtHelpDocumentationSelectionDialog.AddMode, |
102 self) |
102 self) |
103 if dlg.exec() == QDialog.DialogCode.Accepted: |
103 if dlg.exec() == QDialog.DialogCode.Accepted: |
104 documents = dlg.getData() |
104 documents = dlg.getData() |
105 if not documents: |
105 if documents: |
106 return |
106 self.__registerDocumentation(documents) |
107 |
|
108 self.__registerDocumentation(documents) |
|
109 |
107 |
110 def __registerDocumentation(self, filenames): |
108 def __registerDocumentation(self, filenames): |
111 """ |
109 """ |
112 Private method to register a given list of documentations. |
110 Private method to register a given list of documentations. |
113 |
111 |