Commit ada52a97 authored by Viktor Engelmann's avatar Viktor Engelmann
Browse files

Put JavaScript commands for WebActions in QStringLiteral


QWebEnginePage::runJavaScript and QQuickWebEngineView::runJavaScript
have QString parameters. Passing raw strings causes them to be passed
to the deprecated QString constructor, which causes warnings in the
compilation.

Change-Id: I072149ca85c94b2b94c7b5d9aa198eddd47460e8
Reviewed-by: default avatarJüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@qt.io>
Showing with 24 additions and 24 deletions
Supports Markdown
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