From e91d5df3a37f092eb243507ec203f96d0f89a161 Mon Sep 17 00:00:00 2001 From: Jelle Spijker Date: Mon, 5 Dec 2022 10:39:20 +0100 Subject: [PATCH] Apply suggestions from code review --- resources/qml/Cura.qml | 7 +++++-- resources/qml/PrintSetupSelector/ProfileWarningReset.qml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/resources/qml/Cura.qml b/resources/qml/Cura.qml index 8ae3c01c71..6e36587b23 100644 --- a/resources/qml/Cura.qml +++ b/resources/qml/Cura.qml @@ -494,7 +494,10 @@ UM.MainWindow Connections { target: Cura.Actions.addProfile - function onTriggered() { createNewQualityDialog.visible = true; } + function onTriggered() + { + createNewQualityDialog.visible = true; + } } Connections @@ -905,7 +908,7 @@ UM.MainWindow } Cura.TertiaryButton { - text: "Learn more about Cura print profiles" + text: catalog.i18nc("@action:button", "Learn more about Cura print profiles") iconSource: UM.Theme.getIcon("LinkExternal") isIconOnRightSide: true leftPadding: 0 diff --git a/resources/qml/PrintSetupSelector/ProfileWarningReset.qml b/resources/qml/PrintSetupSelector/ProfileWarningReset.qml index 6c498cbb3c..5e6a3d8157 100644 --- a/resources/qml/PrintSetupSelector/ProfileWarningReset.qml +++ b/resources/qml/PrintSetupSelector/ProfileWarningReset.qml @@ -1,5 +1,5 @@ -//Copyright (C) 2022 UltiMaker B.V. -//Cura is released under the terms of the LGPLv3 or higher. +// Copyright (C) 2022 UltiMaker +// Cura is released under the terms of the LGPLv3 or higher. import QtQuick 2.10