mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Do not show splash screen when starting in system tray
This commit is contained in:
parent
35d62df8a7
commit
c34fffe555
@ -306,7 +306,7 @@ class GuiRunner(QObject):
|
|||||||
self.splash_screen.show_message(_('Starting %s: Loading books...') % __appname__)
|
self.splash_screen.show_message(_('Starting %s: Loading books...') % __appname__)
|
||||||
|
|
||||||
def initialize(self, *args):
|
def initialize(self, *args):
|
||||||
if gprefs['show_splash_screen']:
|
if gprefs['show_splash_screen'] and not self.opts.start_in_tray:
|
||||||
self.show_splash_screen()
|
self.show_splash_screen()
|
||||||
self.library_path = get_library_path(self)
|
self.library_path = get_library_path(self)
|
||||||
if not self.library_path:
|
if not self.library_path:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user