Commit 61e85d35 authored by Hernand's avatar Hernand

Fixes cast

Removing whitespaces fixing the tabulation.
parent 3dfc1ff6
......@@ -401,7 +401,7 @@ void QAndroidOffscreenWebView::setWebContentsDebuggingEnabled(bool enabled)
{
if (QJniObject * view = offscreenView())
{
view->callVoid("setWebContentsDebuggingEnabled",(jboolean)enabled);
view->callVoid("setWebContentsDebuggingEnabled", static_cast<jboolean>(enabled));
}
}
......
......@@ -65,7 +65,7 @@ public slots:
void goForward() { androidWebView()->goForward(); }
void requestCanGoBackOrForward(int steps) { androidWebView()->requestCanGoBackOrForward(steps); }
void goBackOrForward(int steps) { androidWebView()->goBackOrForward(steps); }
void setWebContentsDebuggingEnabled(bool enabled){androidWebView()->setWebContentsDebuggingEnabled(enabled);}
void setWebContentsDebuggingEnabled(bool enabled){androidWebView()->setWebContentsDebuggingEnabled(enabled);}
signals:
void pageStarted(const QString & url);
......
......@@ -27,7 +27,7 @@ Item {
height: parent.height - 260
Component.onCompleted: {
webview.loadUrl("http://www.android.com/intl/en/about/")
webview.setWebContentsDebuggingEnabled(true)
webview.setWebContentsDebuggingEnabled(true)
}
}
......
Markdown is supported
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