~lukas-kde/unity8/dashboard

« back to all changes in this revision

Viewing changes to tests/qmltests/Tutorial/tst_Tutorial.qml

  • Committer: Lukáš Tinkl
  • Date: 2017-01-26 12:13:17 UTC
  • mfrom: (2749.1.49 unity8)
  • Revision ID: lukas.tinkl@canonical.com-20170126121317-qms39s9pikclidbe
merge trunk, fix conflicts

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
import QtQuick 2.4
18
18
import QtTest 1.0
19
19
import AccountsService 0.1
20
 
import LightDM.IntegratedLightDM 0.1 as LightDM
 
20
import LightDMController 0.1
 
21
import LightDM.FullLightDM 0.1 as LightDM
21
22
import Ubuntu.Components 1.3
22
23
import Ubuntu.Components.ListItems 1.3
23
24
import Ubuntu.Telephony 0.1 as Telephony
85
86
 
86
87
    Component.onCompleted: {
87
88
        // must set the mock mode before loading the Shell
88
 
        LightDM.Greeter.mockMode = "single-pin";
89
 
        LightDM.Users.mockMode = "single-pin";
 
89
        LightDMController.userMode = "single-pin";
90
90
        shellLoader.active = true;
91
91
    }
92
92