From 40d26bbb6ecff89540bcc2ccbe2797440339df4e Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Tue, 30 Apr 2019 12:48:49 +0200 Subject: [PATCH] NetworkingUtil is included in Cura 1.5 QML CURA-6483 --- cura/CuraApplication.py | 2 +- resources/qml/WelcomePages/AddPrinterByIpContent.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/CuraApplication.py b/cura/CuraApplication.py index a43af578a1..29febf2610 100755 --- a/cura/CuraApplication.py +++ b/cura/CuraApplication.py @@ -1030,7 +1030,7 @@ class CuraApplication(QtApplication): qmlRegisterSingletonType(SimpleModeSettingsManager, "Cura", 1, 0, "SimpleModeSettingsManager", self.getSimpleModeSettingsManager) qmlRegisterSingletonType(MachineActionManager.MachineActionManager, "Cura", 1, 0, "MachineActionManager", self.getMachineActionManager) - qmlRegisterType(NetworkingUtil, "Cura", 1, 0, "NetworkingUtil") + qmlRegisterType(NetworkingUtil, "Cura", 1, 5, "NetworkingUtil") qmlRegisterType(WelcomePagesModel, "Cura", 1, 0, "WelcomePagesModel") qmlRegisterType(WhatsNewPagesModel, "Cura", 1, 0, "WhatsNewPagesModel") diff --git a/resources/qml/WelcomePages/AddPrinterByIpContent.qml b/resources/qml/WelcomePages/AddPrinterByIpContent.qml index 0862727d6e..6fa7097814 100644 --- a/resources/qml/WelcomePages/AddPrinterByIpContent.qml +++ b/resources/qml/WelcomePages/AddPrinterByIpContent.qml @@ -6,7 +6,7 @@ import QtQuick.Controls 2.3 import QtQuick.Layouts 1.3 import UM 1.3 as UM -import Cura 1.1 as Cura +import Cura 1.5 as Cura //