mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix path too long message when restoring db
This commit is contained in:
parent
9a0f97c6aa
commit
04ca51333b
@ -233,8 +233,7 @@ class GuiRunner(QObject):
|
|||||||
def show_splash_screen(self):
|
def show_splash_screen(self):
|
||||||
self.splash_pixmap = QPixmap()
|
self.splash_pixmap = QPixmap()
|
||||||
self.splash_pixmap.load(I('library.png'))
|
self.splash_pixmap.load(I('library.png'))
|
||||||
self.splash_screen = QSplashScreen(self.splash_pixmap,
|
self.splash_screen = QSplashScreen(self.splash_pixmap)
|
||||||
Qt.SplashScreen)
|
|
||||||
self.splash_screen.showMessage(_('Starting %s: Loading books...') %
|
self.splash_screen.showMessage(_('Starting %s: Loading books...') %
|
||||||
__appname__)
|
__appname__)
|
||||||
self.splash_screen.show()
|
self.splash_screen.show()
|
||||||
|
@ -22,6 +22,8 @@ NON_EBOOK_EXTENSIONS = frozenset([
|
|||||||
|
|
||||||
class RestoreDatabase(LibraryDatabase2):
|
class RestoreDatabase(LibraryDatabase2):
|
||||||
|
|
||||||
|
PATH_LIMIT = 10
|
||||||
|
|
||||||
def set_path(self, *args, **kwargs):
|
def set_path(self, *args, **kwargs):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user