forked from openlp/openlp
Change type to conform to expected type
This commit is contained in:
parent
05171453ea
commit
13fb4496f3
@ -353,7 +353,7 @@ class ImageMediaItem(MediaManagerItem):
|
||||
icon = build_icon(thumb)
|
||||
else:
|
||||
icon = create_thumb(imageFile.filename, thumb)
|
||||
item_name = QtGui.QTreeWidgetItem(filename)
|
||||
item_name = QtGui.QTreeWidgetItem([filename])
|
||||
item_name.setText(0, filename)
|
||||
item_name.setIcon(0, icon)
|
||||
item_name.setToolTip(0, imageFile.filename)
|
||||
|
Loading…
Reference in New Issue
Block a user