# HG changeset patch # User Chris Cannam # Date 1221741210 0 # Node ID a0d3b334e7a9c2c20be359fcce05592fe18ae94f # Parent 20ebdbf8f95957f1887b6623be5d1cf16d2bf7a9 * Merge revisions 1131 to 1201 from sv-rdf-import branch diff -r 20ebdbf8f959 -r a0d3b334e7a9 main/main.cpp --- a/main/main.cpp Thu Sep 18 12:09:32 2008 +0000 +++ b/main/main.cpp Thu Sep 18 12:33:30 2008 +0000 @@ -358,9 +358,15 @@ } } if (status == MainWindow::FileOpenFailed) { + splash.hide(); QMessageBox::critical (gui, QMessageBox::tr("Failed to open file"), QMessageBox::tr("File or URL \"%1\" could not be opened").arg(path)); + } else if (status == MainWindow::FileOpenWrongMode) { + splash.hide(); + QMessageBox::critical + (gui, QMessageBox::tr("Failed to open file"), + QMessageBox::tr("Audio required

Please load at least one audio file before importing annotation data")); } } diff -r 20ebdbf8f959 -r a0d3b334e7a9 sv.pro --- a/sv.pro Thu Sep 18 12:09:32 2008 +0000 +++ b/sv.pro Thu Sep 18 12:33:30 2008 +0000 @@ -1,7 +1,8 @@ TEMPLATE = app -SV_UNIT_PACKAGES = vamp vamp-hostsdk rubberband fftw3 fftw3f samplerate jack libpulse portaudio-2.0 mad id3tag oggz fishsound lrdf sndfile liblo redland +SV_UNIT_PACKAGES = vamp vamp-hostsdk rubberband fftw3 fftw3f samplerate jack libpulse portaudio-2.0 mad id3tag oggz fishsound lrdf rasqal raptor sndfile liblo + load(../sv.prf) CONFIG += sv qt thread warn_on stl rtti exceptions