mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:24:57 +02:00
...
This commit is contained in:
parent
e72a3fe21a
commit
866a489eb2
1 changed files with 1 additions and 1 deletions
|
|
@ -719,9 +719,9 @@ def translate(self, *args, **kwargs):
|
|||
class Application(QApplication):
|
||||
|
||||
def __init__(self, args):
|
||||
self.file_event_hook = None
|
||||
qargs = [i.encode('utf-8') if isinstance(i, unicode) else i for i in args]
|
||||
QApplication.__init__(self, qargs)
|
||||
self.file_event_hook = None
|
||||
global gui_thread, qt_app
|
||||
gui_thread = QThread.currentThread()
|
||||
self._translator = None
|
||||
|
|
|
|||
Loading…
Reference in a new issue