[qcineoob] qstring -> unicode

This commit is contained in:
Julien Veyssier 2013-04-05 00:26:24 +02:00 committed by Romain Bignon
commit 515d4b8990

View file

@ -437,8 +437,8 @@ class MainWindow(QtMainWindow):
self.search_history.append(pattern) self.search_history.append(pattern)
self.updateCompletion() self.updateCompletion()
tosearch = self.ui.typeCombo.currentText() tosearch = unicode(self.ui.typeCombo.currentText())
lang = self.ui.langCombo.currentText() lang = unicode(self.ui.langCombo.currentText())
new_res = Result(self.weboob, self.app, self) new_res = Result(self.weboob, self.app, self)
self.ui.resultsTab.addTab(new_res, pattern) self.ui.resultsTab.addTab(new_res, pattern)
self.ui.resultsTab.setCurrentWidget(new_res) self.ui.resultsTab.setCurrentWidget(new_res)