86 Private slot to switch the status of the directory selection button. |
86 Private slot to switch the status of the directory selection button. |
87 """ |
87 """ |
88 if protocol == "file://": |
88 if protocol == "file://": |
89 self.networkPath = self.vcsUrlEdit.text() |
89 self.networkPath = self.vcsUrlEdit.text() |
90 self.vcsUrlEdit.setText(self.localPath) |
90 self.vcsUrlEdit.setText(self.localPath) |
|
91 self.vcsUrlLabel.setText(self.trUtf8("Pat&h:")) |
91 self.localProtocol = True |
92 self.localProtocol = True |
92 else: |
93 else: |
93 if self.localProtocol: |
94 if self.localProtocol: |
94 self.localPath = self.vcsUrlEdit.text() |
95 self.localPath = self.vcsUrlEdit.text() |
95 self.vcsUrlEdit.setText(self.networkPath) |
96 self.vcsUrlEdit.setText(self.networkPath) |
|
97 self.vcsUrlLabel.setText(self.trUtf8("&URL:")) |
96 self.localProtocol = False |
98 self.localProtocol = False |
97 |
99 |
98 def getData(self): |
100 def getData(self): |
99 """ |
101 """ |
100 Public slot to retrieve the data entered into the dialog. |
102 Public slot to retrieve the data entered into the dialog. |