diff options
Diffstat (limited to 'src/plugins/Input/sndfile')
| -rw-r--r-- | src/plugins/Input/sndfile/decodersndfilefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index 753cdb0d2..1d4e6d382 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -112,7 +112,7 @@ QList<TrackInfo *> DecoderSndFileFactory::createPlayList(const QString &path, Tr memset(&snd_info, 0, sizeof(snd_info)); snd_info.format = 0; #ifdef Q_OS_WIN - sndfile = sf_wchar_open(reinterpret_cast<LPCWSTR>(fileName.utf16()), SFM_READ, &snd_info); + sndfile = sf_wchar_open(reinterpret_cast<LPCWSTR>(path.utf16()), SFM_READ, &snd_info); #else sndfile = sf_open(path.toLocal8Bit().constData(), SFM_READ, &snd_info); #endif |
