~ubuntu-sdk-team/ubuntu-ui-toolkit/armedFlakes

« back to all changes in this revision

Viewing changes to tests/unit_x11/tst_mousefilters/tst_mousefilterstest.cpp

  • Committer: Tarmac
  • Author(s): Zsombor Egri, Christian Dywan
  • Date: 2016-02-02 18:54:21 UTC
  • mfrom: (1826.1.8 staging)
  • Revision ID: tarmac-20160202185421-jcaz8nu6w9wcpot1
Link singletons used as context properties in root context of the QML Engine to the engine instance. Fixes: https://bugs.launchpad.net/bugs/1539558.

Approved by ubuntu-sdk-build-bot, Zoltan Balogh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
77
77
 
78
78
    bool inputPanelPresent()
79
79
    {
80
 
        return !QuickUtils::instance().inputMethodProvider().isEmpty();
 
80
        return !QuickUtils::instance()->inputMethodProvider().isEmpty();
81
81
    }
82
82
 
83
83
    QPoint guPoint(qreal guX, qreal guY)
84
84
    {
85
 
        return QPoint(UCUnits::instance().gu(guX), UCUnits::instance().gu(guY));
 
85
        return QPoint(UCUnits::instance()->gu(guX), UCUnits::instance()->gu(guY));
86
86
    }
87
87
 
88
88
    void preventDblClick()