Commit a3c1c8ba authored by Andreas Hartmetz's avatar Andreas Hartmetz
Browse files

Thumbnails: Add back the error() before the error return

The missing error() caused an assertion failure in
SlaveBasePrivate::verifyState("get()") - it is not allowed to
return from get() without calling error() or finished().
parent b46ec2e8
Pipeline #77700 passed with stage
in 6 minutes and 45 seconds
......@@ -247,6 +247,7 @@ void ThumbnailProtocol::get(const QUrl &url)
ThumbCreatorWithMetadata* creator = getThumbCreator(plugin);
if (!creator) {
error(KIO::ERR_INTERNAL, i18n("Cannot load ThumbCreator %1", plugin));
return;
}
......
Markdown is supported
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