diff data/fileio/FileFinder.cpp @ 290:92e8dbde73cd

* Revert revision 713. We do like QStrings after all.
author Chris Cannam
date Fri, 24 Aug 2007 11:41:48 +0000
parents 20028c634494
children 73537d900d4b
line wrap: on
line diff
--- a/data/fileio/FileFinder.cpp	Thu Aug 16 16:47:07 2007 +0000
+++ b/data/fileio/FileFinder.cpp	Fri Aug 24 11:41:48 2007 +0000
@@ -68,7 +68,7 @@
         settingsKey = "audiopath";
         title = "Select an audio file";
         filter = tr("Audio files (%1)\nAll files (*.*)")
-            .arg(AudioFileReaderFactory::getKnownExtensions().c_str());
+            .arg(AudioFileReaderFactory::getKnownExtensions());
         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().c_str());
+            .arg(AudioFileReaderFactory::getKnownExtensions());
         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().c_str())
+            .arg(AudioFileReaderFactory::getKnownExtensions())
             .arg(DataFileReaderFactory::getKnownExtensions());
         break;
     };