Mercurial > hg > svcore
diff data/fileio/FileFinder.cpp @ 285:20028c634494
* change some QStrings to std::strings etc
author | Chris Cannam |
---|---|
date | Thu, 09 Aug 2007 16:29:29 +0000 |
parents | 40db5491bcf8 |
children | 92e8dbde73cd |
line wrap: on
line diff
--- a/data/fileio/FileFinder.cpp Thu Aug 09 14:40:03 2007 +0000 +++ b/data/fileio/FileFinder.cpp Thu Aug 09 16:29:29 2007 +0000 @@ -68,7 +68,7 @@ settingsKey = "audiopath"; title = "Select an audio file"; filter = tr("Audio files (%1)\nAll files (*.*)") - .arg(AudioFileReaderFactory::getKnownExtensions()); + .arg(AudioFileReaderFactory::getKnownExtensions().c_str()); break; case LayerFile: @@ -79,7 +79,7 @@ case SessionOrAudioFile: settingsKey = "lastpath"; filter = tr("All supported files (*.sv %1)\nSonic Visualiser session files (*.sv)\nAudio files (%1)\nAll files (*.*)") - .arg(AudioFileReaderFactory::getKnownExtensions()); + .arg(AudioFileReaderFactory::getKnownExtensions().c_str()); break; case ImageFile: @@ -90,7 +90,7 @@ case AnyFile: settingsKey = "lastpath"; filter = tr("All supported files (*.sv %1 %2)\nSonic Visualiser session files (*.sv)\nAudio files (%1)\nLayer files (%2)\nAll files (*.*)") - .arg(AudioFileReaderFactory::getKnownExtensions()) + .arg(AudioFileReaderFactory::getKnownExtensions().c_str()) .arg(DataFileReaderFactory::getKnownExtensions()); break; };