From 15243fd6f93a8f1d80fbb067908ffa735646b8a4 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Fri, 1 Sep 2023 16:11:53 +0200 Subject: [PATCH] Remove QML warning at startup Using undefined works properly, but generates a warning. The other solution is to set the maximum size to something knowingly big. CURA-10896 --- resources/qml/Cura.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 7ce5f72fcf..497e90c9b6 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -826,8 +826,8 @@ UM.MainWindow { id: addMachineDialog title: catalog.i18nc("@title:window", "Add Printer") - maximumWidth: undefined - maximumHeight: undefined + maximumWidth: Screen.width * 2 + maximumHeight: Screen.height * 2 model: CuraApplication.getAddPrinterPagesModel() progressBarVisible: false }