Don't drag-n-drop "internal:" URLs.
This commit is contained in:
parent
6137c64444
commit
23387d6625
|
@ -93,7 +93,8 @@ QString HiddenUrlClickHandler::copyToClipboardContextItemText() const {
|
|||
}
|
||||
|
||||
QString HiddenUrlClickHandler::dragText() const {
|
||||
return HiddenUrlClickHandler::copyToClipboardText();
|
||||
const auto result = HiddenUrlClickHandler::copyToClipboardText();
|
||||
return result.startsWith(u"internal:"_q) ? QString() : result;
|
||||
}
|
||||
|
||||
void HiddenUrlClickHandler::Open(QString url, QVariant context) {
|
||||
|
|
Loading…
Reference in New Issue