diff data/fileio/AudioFileReader.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 1d656dcda8ef
line wrap: on
line diff
--- a/data/fileio/AudioFileReader.cpp	Thu Aug 16 16:47:07 2007 +0000
+++ b/data/fileio/AudioFileReader.cpp	Fri Aug 24 11:41:48 2007 +0000
@@ -15,19 +15,3 @@
 
 #include "AudioFileReader.h"
 
-void
-AudioFileReader::setError(std::string text, std::string arg)
-{
-    if (arg == "") m_error = text;
-    else m_error = text + ": " + arg;
-}
-
-void
-AudioFileReader::setError(std::string text, int arg)
-{
-    char *buf = new char(text.length() + 100);
-    sprintf(buf, "%s: code %d", text.c_str(), arg);
-    m_error = buf;
-    delete[] buf;
-}
-