Mercurial > hg > svcore
comparison rdf/SimpleSPARQLQuery.cpp @ 527:3c5570e3d9c5
* Fix crash in SimpleSPARQLQuery
* Fix failure to add images from local files
author | Chris Cannam |
---|---|
date | Thu, 15 Jan 2009 18:20:40 +0000 |
parents | 8878efd21dbc |
children | 48f869ce8e64 |
comparison
equal
deleted
inserted
replaced
526:8878efd21dbc | 527:3c5570e3d9c5 |
---|---|
581 { | 581 { |
582 QString err; | 582 QString err; |
583 | 583 |
584 QMutexLocker locker(&m_mutex); | 584 QMutexLocker locker(&m_mutex); |
585 | 585 |
586 if (!m_redland) { | |
587 m_redland = new WredlandWorldWrapper(); | |
588 } | |
589 | |
586 if (!m_redland->isOK()) { | 590 if (!m_redland->isOK()) { |
587 std::cerr << "SimpleSPARQLQuery::addSourceToModel: Failed to initialise Redland datastore" << std::endl; | 591 std::cerr << "SimpleSPARQLQuery::addSourceToModel: Failed to initialise Redland datastore" << std::endl; |
588 return false; | 592 return false; |
589 } | 593 } |
590 | 594 |