Commit 7b7bd947 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇 Committed by Christoph Cullmann
Browse files

TabMimeData: Set URLs on mime data

Allows to drag the tab into non-Kate applications that only
understand actual URLs.


(cherry picked from commit 117c7a5a)
parent 9b450e14
Pipeline #266451 canceled with stage
in 2 minutes and 41 seconds
......@@ -13,6 +13,9 @@ TabMimeData::TabMimeData(KateViewSpace *vs, DocOrWidget d)
, sourceVS(vs)
, doc(d)
{
if (doc.doc() && doc.doc()->url().isValid()) {
setUrls({doc.doc()->url()});
}
}
bool TabMimeData::hasValidData(const QMimeData *md)
......
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