mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Keep the startup spalsh screen visible until the GUI has fully completed initializing. Fixes #885827 (Feature request: Startup loading progress dialog)
This commit is contained in:
parent
0ad7adeade
commit
2bc0afd821
@ -134,8 +134,9 @@ class GuiRunner(QObject):
|
||||
main = Main(self.opts, gui_debug=self.gui_debug)
|
||||
if self.splash_screen is not None:
|
||||
self.splash_screen.showMessage(_('Initializing user interface...'))
|
||||
self.splash_screen.finish(main)
|
||||
main.initialize(self.library_path, db, self.listener, self.actions)
|
||||
if self.splash_screen is not None:
|
||||
self.splash_screen.finish(main)
|
||||
if DEBUG:
|
||||
prints('Started up in', time.time() - self.startup_time, 'with',
|
||||
len(db.data), 'books')
|
||||
|
Loading…
x
Reference in New Issue
Block a user