140 self.submoduleUrlCombo.currentText().replace("\\", "/")) |
140 self.submoduleUrlCombo.currentText().replace("\\", "/")) |
141 path = self.submoduleDirEdit.text() |
141 path = self.submoduleDirEdit.text() |
142 if path: |
142 if path: |
143 path = self.__getRelativePath(path) |
143 path = self.__getRelativePath(path) |
144 |
144 |
|
145 try: |
|
146 formattingOptions = QUrl.FormattingOptions(QUrl.None_) |
|
147 except AttributeError: |
|
148 # for PyQt < 5.6.0 |
|
149 formattingOptions = QUrl.FormattingOptions(0) |
145 return ( |
150 return ( |
146 url.toString(QUrl.None_), |
151 url.toString(formattingOptions), |
147 self.branchEdit.text(), |
152 self.branchEdit.text(), |
148 self.nameEdit.text(), |
153 self.nameEdit.text(), |
149 path, |
154 path, |
150 self.forceCheckBox.isChecked(), |
155 self.forceCheckBox.isChecked(), |
151 ) |
156 ) |