Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.1.1, 2.1.2, and tip

stable archive: remove unnecessary string conversions (fixes #883)

Changeset f2a7dd4999d8

Parent 6b128d5e32e3

by Steve Borho

Changes to one file · Browse files at f2a7dd4999d8 Showing diff from parent 6b128d5e32e3 Diff from another changeset...

 
191
192
193
194
 
195
196
197
198
199
200
201
202
203
 
 
204
205
206
 
191
192
193
 
194
195
 
196
197
198
199
 
 
 
200
201
202
203
204
@@ -191,16 +191,14 @@
  FD = QFileDialog   if select['type'] == 'files':   caption = _('Select Destination Folder') - path = FD.getExistingDirectory(parent=self, caption=caption, + response = FD.getExistingDirectory(parent=self, caption=caption,   directory=dest, options=FD.ShowDirsOnly | FD.ReadOnly) - response = str(path)   else:   caption = _('Open File')   ext = '*' + select['ext']   filter = '%s (%s)\nAll Files (*.*)' % (select['label'], ext) - filename = FD.getOpenFileName(parent=self, caption=caption, - directory=dest, filter=filter, options=FD.ReadOnly ); - response = str(filename) + response = FD.getOpenFileName(parent=self, caption=caption, + directory=dest, filter=filter, options=FD.ReadOnly)   if response:   self.dest_edit.setText(response)   self.update_path()