mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
DRYer
This commit is contained in:
parent
ef3463aa35
commit
eddbcfc921
@ -134,7 +134,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
def __init__(self, opts, parent=None, gui_debug=None):
|
||||
global _gui
|
||||
MainWindow.__init__(self, opts, parent=parent, disable_automatic_gc=True)
|
||||
self.setWindowIcon(QIcon(I('library.png', allow_user_override=False)))
|
||||
self.setWindowIcon(QApplication.instance().windowIcon())
|
||||
self.jobs_pointer = Pointer(self)
|
||||
self.proceed_requested.connect(self.do_proceed,
|
||||
type=Qt.QueuedConnection)
|
||||
|
Loading…
x
Reference in New Issue
Block a user