diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-03 10:11:20 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2013-12-03 10:11:20 +0000 |
| commit | 56157314ca6616d0af7e5406c243c4ef1ebdb03f (patch) | |
| tree | 60cb71177f44807e01301a2301bd06b6ba356a26 /src/app/builtincommandlineoption.cpp | |
| parent | d18aae8ebb9f71256a10e7daf6d5e3b4494cc9c6 (diff) | |
| download | qmmp-56157314ca6616d0af7e5406c243c4ef1ebdb03f.tar.gz qmmp-56157314ca6616d0af7e5406c243c4ef1ebdb03f.tar.bz2 qmmp-56157314ca6616d0af7e5406c243c4ef1ebdb03f.zip | |
convert windows-style paths to unix-style
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@3939 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/app/builtincommandlineoption.cpp')
| -rw-r--r-- | src/app/builtincommandlineoption.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/builtincommandlineoption.cpp b/src/app/builtincommandlineoption.cpp index 48d11f1e1..2b19f10c7 100644 --- a/src/app/builtincommandlineoption.cpp +++ b/src/app/builtincommandlineoption.cpp @@ -95,6 +95,9 @@ void BuiltinCommandLineOption::executeCommand(const QString &option_string, QStringList full_path_list, remote_pls_list; foreach(QString s, args) { +#ifdef Q_OS_WIN + s.replace("\\","/"); +#endif if (QFileInfo(s).isAbsolute()) //absolute path full_path_list << s; else if(s.contains("://")) //url |
