summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Shalygin <[email protected]>2018-04-12 00:56:10 +0100
committerDavid Edmundson <[email protected]>2018-04-12 00:57:15 +0100
commit5eb5f6841ef7da1cb6e6d1c35de330e74e74b92d (patch)
tree0451ca723a8a8a4933a29671654f9d8763314c99
parent231cf60a3374121c754febd817c5b3eebaf0b893 (diff)
Fix with Qt 5.11
Reviewed-by: David Edmundson
-rw-r--r--lib/adium-theme-view.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/adium-theme-view.cpp b/lib/adium-theme-view.cpp
index 3b37285..3819788 100644
--- a/lib/adium-theme-view.cpp
+++ b/lib/adium-theme-view.cpp
@@ -68,6 +68,8 @@ bool AdiumThemePage::acceptNavigationRequest(const QUrl &url, QWebEnginePage::Na
Q_EMIT nextConversation();
} else if (url.fragment() == QLatin1String("x-prevConversation")) {
Q_EMIT prevConversation();
+ } else if (url.scheme() == QLatin1String("data")) {
+ return true;
} else {
QDesktopServices::openUrl(url);
}