Mercurial > hg > svcore
diff plugin/plugins/SamplePlayer.cpp @ 845:a299c4cec0f8
Likewise, but for toLocal8Bit().data()
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:48:13 +0000 |
parents | e802e550a1f2 |
children | 2d53205f70cd |
line wrap: on
line diff
--- a/plugin/plugins/SamplePlayer.cpp Tue Nov 26 13:43:31 2013 +0000 +++ b/plugin/plugins/SamplePlayer.cpp Tue Nov 26 13:48:13 2013 +0000 @@ -365,7 +365,7 @@ #ifdef DEBUG_SAMPLE_PLAYER SVDEBUG << "SamplePlayer::searchSamples: Directory is \"" - << m_sampleDir.toLocal8Bit().data() << "\"" << endl; + << m_sampleDir << "\"" << endl; #endif QDir dir(m_sampleDir, "*.wav"); @@ -376,7 +376,7 @@ m_samples.push_back(std::pair<QString, QString> (file.baseName(), file.filePath())); #ifdef DEBUG_SAMPLE_PLAYER - cerr << "Found: " << dir[i].toLocal8Bit().data() << endl; + cerr << "Found: " << dir[i] << endl; #endif } } @@ -397,7 +397,7 @@ file = sf_open(path.toLocal8Bit().data(), SFM_READ, &info); if (!file) { cerr << "SamplePlayer::loadSampleData: Failed to open file " - << path.toLocal8Bit().data() << ": " + << path << ": " << sf_strerror(file) << endl; return; }