mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-13 10:32:11 +01:00
WebHitTestResult: Resolve image url
This commit is contained in:
parent
258d78a247
commit
df487f0726
|
@ -170,6 +170,8 @@ void WebHitTestResult::init(const QUrl &url, const QVariantMap &map)
|
||||||
if (rect.size() == 4)
|
if (rect.size() == 4)
|
||||||
m_boundingRect = QRect(rect.at(0).toInt(), rect.at(1).toInt(), rect.at(2).toInt(), rect.at(3).toInt());
|
m_boundingRect = QRect(rect.at(0).toInt(), rect.at(1).toInt(), rect.at(2).toInt(), rect.at(3).toInt());
|
||||||
|
|
||||||
|
if (!m_imageUrl.isEmpty())
|
||||||
|
m_imageUrl = url.resolved(m_imageUrl);
|
||||||
if (!m_linkUrl.isEmpty())
|
if (!m_linkUrl.isEmpty())
|
||||||
m_linkUrl = url.resolved(m_linkUrl);
|
m_linkUrl = url.resolved(m_linkUrl);
|
||||||
if (!m_mediaUrl.isEmpty())
|
if (!m_mediaUrl.isEmpty())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user