Use the right resource path for locating Qml resources

This commit is contained in:
Arjen Hiemstra 2015-08-21 18:29:13 +02:00
parent 9888a6eb42
commit f081bf4026
2 changed files with 5 additions and 1 deletions

View file

@ -7,6 +7,7 @@ import QtQuick.Layouts 1.1
import QtQuick.Window 2.1
import UM 1.0 as UM
import Cura 1.0 as Cura
UM.Wizard
{
@ -15,7 +16,7 @@ UM.Wizard
wizardPages: [
{
title: "Add Printer",
page: "AddMachine.qml"
page: UM.Resources.getPath(Cura.ResourceTypes.QmlFiles, "WizardPages/AddMachine.qml")
}
]