Commit 936462cb authored by Daniel Vrátil's avatar Daniel Vrátil Committed by Daniel Vrátil
Browse files

Add implementation of missing methods of EmbeddedImageURLHandler

The code is restored from some older revision where it still
existed. Somehow it got lost over time, and since the handler
wasn't registered either the compiler completely ignored the
class so it did not complain.
parent 75f14413
Pipeline #39379 passed with stage
in 43 minutes and 15 seconds
......@@ -236,6 +236,7 @@ URLHandlerManager::URLHandlerManager()
registerHandler(new ShowAuditLogURLHandler());
registerHandler(new InternalImageURLHandler);
registerHandler(new KRunURLHandler());
registerHandler(new EmbeddedImageURLHandler());
......@@ -918,3 +919,16 @@ bool KRunURLHandler::handleClick(const QUrl &url, ViewerPrivate *w) const
return false;
bool EmbeddedImageURLHandler::handleDrag(const QUrl &url, ViewerPrivate *window) const
return false;
bool EmbeddedImageURLHandler::willHandleDrag(const QUrl &url, ViewerPrivate *window) const
return url.scheme() == QLatin1String("cid");
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