Review: Needs Fixing

Attempt to import media files causes this traceback (trunk works fine):

Traceback (most recent call last):
  File 
"/home/andreas/Projects/OpenLP/trunk/openlp/core/lib/mediamanageritem.py", line 
311, in onFileClick
    self.validateAndLoad(files)
  File 
"/home/andreas/Projects/OpenLP/trunk/openlp/core/lib/mediamanageritem.py", line 
366, in validateAndLoad
    self.loadList(full_list, target_group)
  File 
"/home/andreas/Projects/OpenLP/trunk/openlp/plugins/media/lib/mediaitem.py", 
line 260, in loadList
    track_info = QtCore.QFileInfo(track)
TypeError: arguments did not match any overloaded call:
  QFileInfo(): too many arguments
  QFileInfo(QString): argument 1 has unexpected type 'type'
  QFileInfo(QFile): argument 1 has unexpected type 'type'
  QFileInfo(QDir, QString): argument 1 has unexpected type 'type'
  QFileInfo(QFileInfo): argument 1 has unexpected type 'type'

-- 
https://code.launchpad.net/~arjan-i/openlp/images_groups/+merge/152707
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to