Commit 7c97f7fc authored by Benjamin Löwe's avatar Benjamin Löwe
Browse files

Fix for Bug 310891 - gwenview crashed during rotate image

BUG: 310891
REVIEW: 107667
FIXED-IN: 4.10.0
parent 29378564
......@@ -88,6 +88,10 @@ void Preloader::preload(const KUrl& url, const QSize& size)
void Preloader::doPreload()
{
if (!d->mDocument) {
return;
}
if (d->mDocument->loadingState() == Document::LoadingFailed) {
LOG("loading failed");
d->forgetDocument();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment