[phonon-vlc] vlc: passing the libvlc path to init seems utter pointless -> remove

Harald Sitter sitter at kde.org
Wed Jun 1 18:30:49 CEST 2011


Git commit 182c1c184de845cbfd595a4436f1b46edd97e6f7 by Harald Sitter.
Committed on 01/06/2011 at 18:29.
Pushed by sitter into branch 'master'.

passing the libvlc path to init seems utter pointless -> remove

Please note that this could also break something, so testing is much appreciated.

CCMAIL: phonon-backends at kde.org
CCMAIL: kde-multimedia at kde.org

M  +0    -2    vlc/libvlc.cpp     

http://commits.kde.org/phonon-vlc/182c1c184de845cbfd595a4436f1b46edd97e6f7

diff --git a/vlc/libvlc.cpp b/vlc/libvlc.cpp
index 76fe68e..4d3ed45 100644
--- a/vlc/libvlc.cpp
+++ b/vlc/libvlc.cpp
@@ -54,8 +54,6 @@ bool LibVLC::init()
     if (!path.isEmpty()) {
         QList<QByteArray> args;
 
-        args << QFile::encodeName(path);
-
         QString pluginsPath = QLatin1Literal("--plugin-path=") %
                 QDir::toNativeSeparators(QFileInfo(self->vlcPath()).dir().path());
 #if defined(Q_OS_UNIX)


More information about the Phonon-backends mailing list