Merge pull request #7441 from zzmp/clean/resource-reinsert

Restrict Resource reinsertion
This commit is contained in:
Andrew Meadows 2016-03-24 08:41:12 -07:00
commit 21c770f37b

View file

@ -227,9 +227,6 @@ protected:
/// This should be called by subclasses that override downloadFinished to mark the end of processing.
Q_INVOKABLE void finishedLoading(bool success);
/// Reinserts this resource into the cache.
virtual void reinsert();
QUrl _url;
QUrl _activeUrl;
bool _startedLoading = false;
@ -249,6 +246,7 @@ private:
void makeRequest();
void retry();
void reinsert();
friend class ResourceCache;