comparison framework/MainWindowBase.cpp @ 144:675443abbc05

Various fixes: * Fix handling of HTTP redirects (avoiding crashes... I hope) * Fix failure to delete FFT models when a feature extraction model transformer was abandoned (also a cause of crashes in the past) * Fix deadlock when said transform was abandoned before its source model was ready because the session was being cleared (and so the source model would never be ready)
author Chris Cannam
date Fri, 28 Nov 2008 13:36:13 +0000
parents 9ef382913c17
children 937456ffe33e
comparison
equal deleted inserted replaced
143:9ef382913c17 144:675443abbc05
1459 { 1459 {
1460 ProgressDialog dialog(tr("Importing from RDF..."), true, 2000, this); 1460 ProgressDialog dialog(tr("Importing from RDF..."), true, 2000, this);
1461 connect(&dialog, SIGNAL(showing()), this, SIGNAL(hideSplash())); 1461 connect(&dialog, SIGNAL(showing()), this, SIGNAL(hideSplash()));
1462 1462
1463 FileSource audioSource(audioUrl, &dialog); 1463 FileSource audioSource(audioUrl, &dialog);
1464
1464 if (!audioSource.isAvailable()) { 1465 if (!audioSource.isAvailable()) {
1465 std::cerr << "MainWindowBase::openSessionFromRDF: Cannot open audio URL \"" << audioUrl.toStdString() << "\" referred to in RDF, can't open a session without audio" << std::endl; 1466 std::cerr << "MainWindowBase::openSessionFromRDF: Cannot open audio URL \"" << audioUrl.toStdString() << "\" referred to in RDF, can't open a session without audio" << std::endl;
1466 return FileOpenFailed; 1467 return FileOpenFailed;
1467 } 1468 }
1468 1469