94 """ |
94 """ |
95 Private slot to handle the directory selection via dialog. |
95 Private slot to handle the directory selection via dialog. |
96 """ |
96 """ |
97 directory = E5FileDialog.getExistingDirectory( |
97 directory = E5FileDialog.getExistingDirectory( |
98 self, |
98 self, |
99 self.trUtf8("Select plugins download directory"), |
99 self.tr("Select plugins download directory"), |
100 self.downloadDirEdit.text(), |
100 self.downloadDirEdit.text(), |
101 E5FileDialog.Options(E5FileDialog.ShowDirsOnly)) |
101 E5FileDialog.Options(E5FileDialog.ShowDirsOnly)) |
102 |
102 |
103 if directory: |
103 if directory: |
104 dn = Utilities.toNativeSeparators(directory) |
104 dn = Utilities.toNativeSeparators(directory) |