From 98d8a3f3e3c83ffd4443ac2a8afae84d071e80eb Mon Sep 17 00:00:00 2001 From: Lipu Fei Date: Fri, 31 Aug 2018 13:49:08 +0200 Subject: [PATCH] Fix code style and small cleanup CURA-5676 --- .../Toolbox/resources/qml/ToolboxAuthorPage.qml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/plugins/Toolbox/resources/qml/ToolboxAuthorPage.qml b/plugins/Toolbox/resources/qml/ToolboxAuthorPage.qml index be6cd5e713..90b92bd832 100644 --- a/plugins/Toolbox/resources/qml/ToolboxAuthorPage.qml +++ b/plugins/Toolbox/resources/qml/ToolboxAuthorPage.qml @@ -114,12 +114,9 @@ Item { if (details.website) { - return ""+details.website+"" - } - else - { - return "" + return "" + details.website + "" } + return "" } font: UM.Theme.getFont("very_small") color: UM.Theme.getColor("text") @@ -133,12 +130,9 @@ Item { if (details.email) { - return ""+details.email+"" - } - else - { - return "" + return "" + details.email + "" } + return "" } font: UM.Theme.getFont("very_small") color: UM.Theme.getColor("text")