Fix path too long message when restoring db

This commit is contained in:
Kovid Goyal 2010-09-26 09:10:05 -06:00
parent 9a0f97c6aa
commit 04ca51333b
2 changed files with 3 additions and 2 deletions

View File

@ -233,8 +233,7 @@ class GuiRunner(QObject):
def show_splash_screen(self):
self.splash_pixmap = QPixmap()
self.splash_pixmap.load(I('library.png'))
self.splash_screen = QSplashScreen(self.splash_pixmap,
Qt.SplashScreen)
self.splash_screen = QSplashScreen(self.splash_pixmap)
self.splash_screen.showMessage(_('Starting %s: Loading books...') %
__appname__)
self.splash_screen.show()

View File

@ -22,6 +22,8 @@ NON_EBOOK_EXTENSIONS = frozenset([
class RestoreDatabase(LibraryDatabase2):
PATH_LIMIT = 10
def set_path(self, *args, **kwargs):
pass