diff options
Diffstat (limited to 'plugins/soundsourcewv/soundsourcewv.cpp')
-rw-r--r-- | plugins/soundsourcewv/soundsourcewv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/soundsourcewv/soundsourcewv.cpp b/plugins/soundsourcewv/soundsourcewv.cpp index db88fc8f8e..3d0107356f 100644 --- a/plugins/soundsourcewv/soundsourcewv.cpp +++ b/plugins/soundsourcewv/soundsourcewv.cpp @@ -161,7 +161,7 @@ inline long unsigned SoundSourceWV::length(){ Result SoundSourceWV::parseHeader() { #ifdef _WIN32 - TagLib::WavPack::File f(getFilename().toStdWString().data()); + TagLib::WavPack::File f(getFilename().toStdWString().c_str()); #else TagLib::WavPack::File f(getFilename().toLocal8Bit().constData()); #endif @@ -187,7 +187,7 @@ Result SoundSourceWV::parseHeader() { QImage SoundSourceWV::parseCoverArt() { #ifdef _WIN32 - TagLib::WavPack::File f(getFilename().toStdWString().data()); + TagLib::WavPack::File f(getFilename().toStdWString().c_str()); #else TagLib::WavPack::File f(getFilename().toLocal8Bit().constData()); #endif |