forked from openlp/openlp
clean up
This commit is contained in:
parent
175b01621d
commit
b07fab7ff0
@ -141,7 +141,6 @@ class FirstTimeForm(QtGui.QWizard, Ui_FirstTimeWizard):
|
|||||||
u'bible_%s' % bible, u'title'), u'utf8')
|
u'bible_%s' % bible, u'title'), u'utf8')
|
||||||
filename = unicode(self.config.get(
|
filename = unicode(self.config.get(
|
||||||
u'bible_%s' % bible, u'filename'))
|
u'bible_%s' % bible, u'filename'))
|
||||||
# FIXME
|
|
||||||
item = QtGui.QTreeWidgetItem(langItem, title)
|
item = QtGui.QTreeWidgetItem(langItem, title)
|
||||||
item.setData(0, QtCore.Qt.UserRole, filename)
|
item.setData(0, QtCore.Qt.UserRole, filename)
|
||||||
item.setCheckState(0, QtCore.Qt.Unchecked)
|
item.setCheckState(0, QtCore.Qt.Unchecked)
|
||||||
|
@ -218,7 +218,6 @@ class SongExportForm(OpenLPWizard):
|
|||||||
# Add the songs to the list of selected songs.
|
# Add the songs to the list of selected songs.
|
||||||
for item in items:
|
for item in items:
|
||||||
song = QtGui.QListWidgetItem(item.text())
|
song = QtGui.QListWidgetItem(item.text())
|
||||||
# TODO: check toPyObject()
|
|
||||||
song.setData(QtCore.Qt.UserRole,
|
song.setData(QtCore.Qt.UserRole,
|
||||||
item.data(QtCore.Qt.UserRole).toPyObject())
|
item.data(QtCore.Qt.UserRole).toPyObject())
|
||||||
song.setFlags(QtCore.Qt.ItemIsEnabled)
|
song.setFlags(QtCore.Qt.ItemIsEnabled)
|
||||||
|
Loading…
Reference in New Issue
Block a user