mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 11:26:02 +01:00
...
This commit is contained in:
parent
ae2b4a4214
commit
e3765c9a0a
1 changed files with 2 additions and 2 deletions
|
|
@ -765,6 +765,8 @@ def __init__(self, args, force_calibre_style=False,
|
|||
args = [override_program_name] + args[1:]
|
||||
qargs = [i.encode('utf-8') if isinstance(i, unicode) else i for i in args]
|
||||
self.pi = plugins['progress_indicator'][0]
|
||||
if DEBUG:
|
||||
self.redirect_notify = True
|
||||
QApplication.__init__(self, qargs)
|
||||
global gui_thread, qt_app
|
||||
gui_thread = QThread.currentThread()
|
||||
|
|
@ -774,8 +776,6 @@ def __init__(self, args, force_calibre_style=False,
|
|||
self._file_open_paths = []
|
||||
self._file_open_lock = RLock()
|
||||
self.setup_styles(force_calibre_style)
|
||||
if DEBUG:
|
||||
self.redirect_notify = True
|
||||
|
||||
if DEBUG:
|
||||
def notify(self, receiver, event):
|
||||
|
|
|
|||
Loading…
Reference in a new issue