# HG changeset patch # User Chris Cannam # Date 1255603843 0 # Node ID f694ee2567feab27a6f7166a35624e98bee03850 # Parent 9f49d0f1bd2016234db09bb7ee90879819c04f20 * RDF importer: Features that are on different timeline URIs should go into separate models (_not_ just on separate signal URIs as there may not be any meaningful signal URIs) * FileSource: if a file is not found, try again assuming its name is encoded (not just in tolerant mode) diff -r 9f49d0f1bd20 -r f694ee2567fe framework/MainWindowBase.cpp --- a/framework/MainWindowBase.cpp Fri Oct 02 13:56:10 2009 +0000 +++ b/framework/MainWindowBase.cpp Thu Oct 15 10:50:43 2009 +0000 @@ -1620,6 +1620,8 @@ { size_t rate = 0; + std::cerr << "MainWindowBase::openLayersFromRDF" << std::endl; + ProgressDialog dialog(tr("Importing from RDF..."), true, 2000, this); connect(&dialog, SIGNAL(showing()), this, SIGNAL(hideSplash())); @@ -1647,6 +1649,9 @@ dialog.setMessage(tr("Importing from RDF...")); if (models.empty()) { + QMessageBox::critical + (this, tr("Failed to import RDF"), + tr("Failed to import RDF

No suitable data models found for import from RDF document at \"%1\"

").arg(source.getLocation())); return FileOpenFailed; }