[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e

Maximiliano Curia maxy at moszumanska.debian.org
Fri May 27 23:58:35 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=2c1d575

The following commit has been merged in the master branch:
commit 2c1d57570064f54b5bf3d00532ad02e163426dbd
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Sun Dec 25 03:18:58 2011 +0100

    Use KWebPage instead of QWebPage
---
 x-messenger-oauth2-prompt.cpp | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/x-messenger-oauth2-prompt.cpp b/x-messenger-oauth2-prompt.cpp
index c12ae89..a931040 100644
--- a/x-messenger-oauth2-prompt.cpp
+++ b/x-messenger-oauth2-prompt.cpp
@@ -23,6 +23,7 @@
 #include <KToolInvocation>
 #include <KDebug>
 #include <KWebView>
+#include <KWebPage>
 
 #include <QtWebKit/QWebSettings>
 #include <QtGui/QProgressBar>
@@ -83,10 +84,12 @@ XMessengerOAuth2Prompt::XMessengerOAuth2Prompt(QWidget* parent) :
             SIGNAL(linkClicked(QUrl)),
             SLOT(onLinkClicked(QUrl)));
 
-    m_webView->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
-    m_webView->page()->setForwardUnsupportedContent(true);
+    KWebPage *page = reinterpret_cast<KWebPage*>(m_webView->page());
 
-    connect(m_webView->page(),
+    page->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
+    page->setForwardUnsupportedContent(true);
+
+    connect(page,
             SIGNAL(unsupportedContent(QNetworkReply*)),
             SLOT(onUnsupportedContent(QNetworkReply*)));
 

-- 
ktp-auth-handler packaging



More information about the pkg-kde-commits mailing list