Added a missing QDir::toNativeSeparators() call.

This commit is contained in:
LoRd_MuldeR 2014-05-28 16:45:44 +02:00
parent 6c0a6de7f0
commit e365edaafd

View File

@ -25,6 +25,7 @@
#include "Global.h" #include "Global.h"
#include "Model_AudioFile.h" #include "Model_AudioFile.h"
#include <QDir>
#include <QProcess> #include <QProcess>
WaveProperties::WaveProperties(void) WaveProperties::WaveProperties(void)
@ -46,7 +47,7 @@ bool WaveProperties::detect(const QString &sourceFile, AudioFileModel_TechInfo *
QProcess process; QProcess process;
QStringList args; QStringList args;
args << "--i" << sourceFile; args << "--i" << QDir::toNativeSeparators(sourceFile);
if(!startProcess(process, m_binary, args)) if(!startProcess(process, m_binary, args))
{ {