# HG changeset patch # User Chris Cannam # Date 1403185487 -3600 # Node ID 534bd1def9eea15cf999894d76244f808b955561 # Parent 024226dd9f51bd101d817da561d336fcdd32c0b5 Remove debug out diff -r 024226dd9f51 -r 534bd1def9ee framework/MainWindowBase.cpp --- a/framework/MainWindowBase.cpp Thu Jun 19 14:43:41 2014 +0100 +++ b/framework/MainWindowBase.cpp Thu Jun 19 14:44:47 2014 +0100 @@ -1122,7 +1122,6 @@ MainWindowBase::FileOpenStatus MainWindowBase::openPath(QString fileOrUrl, AudioFileOpenMode mode) { - cerr << "MainWindowBase::openPath(" << fileOrUrl << ")" << endl; ProgressDialog dialog(tr("Opening file or URL..."), true, 2000, this); connect(&dialog, SIGNAL(showing()), this, SIGNAL(hideSplash())); return open(FileSource(fileOrUrl, &dialog), mode); @@ -1147,14 +1146,11 @@ bool audio = AudioFileReaderFactory::getKnownExtensions().contains (source.getExtension().toLower()); - cerr << "MainWindowBase::open(" << source.getLocalFilename() << ": audio = " << audio << endl; - bool rdfSession = false; if (rdf) { RDFImporter::RDFDocumentType rdfType = RDFImporter::identifyDocumentType (QUrl::fromLocalFile(source.getLocalFilename()).toString()); -// cerr << "RDF type: " << (int)rdfType << endl; if (rdfType == RDFImporter::AudioRefAndAnnotations || rdfType == RDFImporter::AudioRef) { rdfSession = true; @@ -1207,13 +1203,13 @@ MainWindowBase::openAudio(FileSource source, AudioFileOpenMode mode, QString templateName) { - cerr << "MainWindowBase::openAudio(" << source.getLocation() << ")" << endl; + SVDEBUG << "MainWindowBase::openAudio(" << source.getLocation() << ")" << endl; if (templateName == "") { templateName = getDefaultSessionTemplate(); } - cerr << "template is: \"" << templateName << "\"" << endl; +// cerr << "template is: \"" << templateName << "\"" << endl; if (!source.isAvailable()) return FileOpenFailed; source.waitForData();