This commit is contained in:
Andreas Preikschat 2012-05-19 10:50:33 +02:00
parent 175b01621d
commit b07fab7ff0
2 changed files with 0 additions and 2 deletions

View File

@ -141,7 +141,6 @@ class FirstTimeForm(QtGui.QWizard, Ui_FirstTimeWizard):
u'bible_%s' % bible, u'title'), u'utf8')
filename = unicode(self.config.get(
u'bible_%s' % bible, u'filename'))
# FIXME
item = QtGui.QTreeWidgetItem(langItem, title)
item.setData(0, QtCore.Qt.UserRole, filename)
item.setCheckState(0, QtCore.Qt.Unchecked)

View File

@ -218,7 +218,6 @@ class SongExportForm(OpenLPWizard):
# Add the songs to the list of selected songs.
for item in items:
song = QtGui.QListWidgetItem(item.text())
# TODO: check toPyObject()
song.setData(QtCore.Qt.UserRole,
item.data(QtCore.Qt.UserRole).toPyObject())
song.setFlags(QtCore.Qt.ItemIsEnabled)