From a41d0a530af6cd96719e2864c6ee61a68047d0c9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 3 Mar 2009 20:12:58 +0100 Subject: Filebrowser: don't pass QString to mpclient.add(). --- nephilim/plugins/Filebrowser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nephilim/plugins/Filebrowser.py') diff --git a/nephilim/plugins/Filebrowser.py b/nephilim/plugins/Filebrowser.py index 3f96236..b4d055d 100644 --- a/nephilim/plugins/Filebrowser.py +++ b/nephilim/plugins/Filebrowser.py @@ -61,7 +61,7 @@ class wgFilebrowser(QtGui.QWidget): return paths = [] for index in self.view.selectedIndexes(): - paths.append(u'file://' + self.model.filePath(index)) + paths.append(u'file://' + unicode(self.model.filePath(index))) self.plugin.mpclient.addToPlaylist(paths) def path_changed(self): -- cgit v1.2.3