mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
IGN:Fix stupid bug in implementation of is_ok_to_us_qt
This commit is contained in:
parent
c50e47fdd8
commit
02be6743ad
@ -464,6 +464,7 @@ class Application(QApplication):
|
||||
def __init__(self, args):
|
||||
qargs = [i.encode('utf-8') if isinstance(i, unicode) else i for i in args]
|
||||
QApplication.__init__(self, qargs)
|
||||
global gui_thread
|
||||
gui_thread = QThread.currentThread()
|
||||
self.translator = QTranslator(self)
|
||||
lang = get_lang()
|
||||
|
Loading…
x
Reference in New Issue
Block a user