~mardy/signon-ui/version

« back to all changes in this revision

Viewing changes to src/browser-process/webview.qml

  • Committer: Tarmac
  • Author(s): Alberto Mardegan
  • Date: 2013-10-02 06:37:56 UTC
  • mfrom: (107.1.1 lp1217792)
  • Revision ID: tarmac-20131002063756-viamskejgm6p6kjh
Add missing import line
  
The lack of this line was causing the "units.gu()" function to be undefined,
and therefore the form factor was undefined as well, and consequently also the
user-agent.
. Fixes: https://bugs.launchpad.net/bugs/1217792.

Approved by PS Jenkins bot, Víctor R. Ruiz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
import QtQuick.Window 2.0
3
3
import QtWebKit 3.0
4
4
import QtWebKit.experimental 1.0
 
5
import Ubuntu.Components 0.1
5
6
 
6
7
FocusScope {
7
8
    id: browser