mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Ensure main window is hidden till we call show()
This commit is contained in:
parent
3596471257
commit
b3428fd387
@ -118,6 +118,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
|||||||
|
|
||||||
def __init__(self, opts, parent=None, gui_debug=None):
|
def __init__(self, opts, parent=None, gui_debug=None):
|
||||||
MainWindow.__init__(self, opts, parent=parent, disable_automatic_gc=True)
|
MainWindow.__init__(self, opts, parent=parent, disable_automatic_gc=True)
|
||||||
|
self.setVisible(False)
|
||||||
self.setWindowIcon(QApplication.instance().windowIcon())
|
self.setWindowIcon(QApplication.instance().windowIcon())
|
||||||
self.extra_files_watcher = ExtraFilesWatcher(self)
|
self.extra_files_watcher = ExtraFilesWatcher(self)
|
||||||
self.jobs_pointer = Pointer(self)
|
self.jobs_pointer = Pointer(self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user