equal
deleted
inserted
replaced
220 { |
220 { |
221 qWarning("read all but not EOF"); |
221 qWarning("read all but not EOF"); |
222 return false; |
222 return false; |
223 } |
223 } |
224 |
224 |
225 if (this->isVisible()) |
225 m_contentDownloaded = true; |
226 m_contentDownloaded = true; |
|
227 else |
|
228 DataManager::instance().reload(); |
|
229 } |
226 } |
230 |
227 |
231 file.close(); |
228 file.close(); |
232 |
229 |
233 if(file.getZipError()!=UNZ_OK) |
230 if(file.getZipError()!=UNZ_OK) |
246 void PageDataDownload::onPageLeave() |
243 void PageDataDownload::onPageLeave() |
247 { |
244 { |
248 if (m_contentDownloaded) |
245 if (m_contentDownloaded) |
249 { |
246 { |
250 m_contentDownloaded = false; |
247 m_contentDownloaded = false; |
251 DataManager::instance().reload(); |
248 //DataManager::instance().reload(); |
252 } |
249 } |
253 } |
250 } |