comparison rdf/PluginRDFDescription.cpp @ 461:2019d89ebcf9

* Some work on querying and cacheing plugin RDF from a central index
author Chris Cannam
date Fri, 17 Oct 2008 15:26:29 +0000
parents ef14acd6d102
children 957e6a5c8495
comparison
equal deleted inserted replaced
460:93fb1ebff76b 461:2019d89ebcf9
157 157
158 QString local = url; 158 QString local = url;
159 159
160 if (FileSource::isRemote(url) && 160 if (FileSource::isRemote(url) &&
161 FileSource::canHandleScheme(url)) { 161 FileSource::canHandleScheme(url)) {
162 162
163 m_source = new FileSource(url); 163 //!!! persistent with expiry
164
165 m_source = new FileSource(url, 0, FileSource::PersistentCache);
166
164 if (!m_source->isAvailable()) { 167 if (!m_source->isAvailable()) {
165 delete m_source; 168 delete m_source;
166 m_source = 0; 169 m_source = 0;
167 return false; 170 return false;
168 } 171 }