forked from openlp/openlp
More cleanups
This commit is contained in:
parent
5fe753c833
commit
1968803619
@ -120,7 +120,7 @@ class MainDisplay(DisplayWidget):
|
||||
self.setScene(self.scene)
|
||||
self.webView = QtWebKit.QGraphicsWebView()
|
||||
self.scene.addItem(self.webView)
|
||||
self.webView.resize(self.screen[u'size'].width(), \
|
||||
self.webView.resize(self.screen[u'size'].width(),
|
||||
self.screen[u'size'].height())
|
||||
self.page = self.webView.page()
|
||||
self.frame = self.page.mainFrame()
|
||||
|
@ -89,7 +89,7 @@ class OpenSongBible(BibleDB):
|
||||
Receiver.send_message(u'openlp_process_events')
|
||||
self.wizard.incrementProgressBar(
|
||||
QtCore.QString('%s %s %s' % (
|
||||
translate('BiblesPlugin.Opensong', 'Importing'), \
|
||||
translate('BiblesPlugin.Opensong', 'Importing'),
|
||||
db_book.name, chapter.attrib[u'n'])))
|
||||
self.session.commit()
|
||||
except IOError:
|
||||
|
@ -31,7 +31,7 @@ import logging
|
||||
import chardet
|
||||
try:
|
||||
import sqlite
|
||||
except:
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
from openlp.core.lib import translate
|
||||
|
Loading…
Reference in New Issue
Block a user