Fix comparison of always unequal unicode and non-unicode string on drag-and-drop.

This commit is contained in:
Mattias Põldaru 2011-08-16 01:42:48 +03:00
parent 7ab1538460
commit aca0a86915

View File

@ -377,7 +377,7 @@ class MediaManagerItem(QtGui.QWidget):
""" """
names = [] names = []
for count in range(0, self.listView.count()): for count in range(0, self.listView.count()):
names.append(self.listView.item(count).text()) names.append(unicode(self.listView.item(count).text()))
newFiles = [] newFiles = []
duplicatesFound = False duplicatesFound = False
for file in files: for file in files: