From 0bd0f094375fb115d6b6894a7513e0019a393483 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Tue, 11 Jan 2022 11:26:05 +0100 Subject: [PATCH] Remove unused component CURA-8683 --- resources/qml/MainWindow/ApplicationMenu.qml | 27 -------------------- 1 file changed, 27 deletions(-) diff --git a/resources/qml/MainWindow/ApplicationMenu.qml b/resources/qml/MainWindow/ApplicationMenu.qml index 20a7e774f9..06fbc7a47a 100644 --- a/resources/qml/MainWindow/ApplicationMenu.qml +++ b/resources/qml/MainWindow/ApplicationMenu.qml @@ -17,37 +17,10 @@ Item width: parent.width height: applicationMenu.height - Component - { - id: menuBarComponent - MenuBarItem - { - id: menuBarItem - - function replaceText(txt) - { - var index = txt.indexOf("&") - if(index >= 0) - { - txt = txt.replace(txt.substr(index, 2), ("" + txt.substr(index + 1, 1) +"")) - } - return txt - } - - contentItem: Label { - text: replaceText(menuBarItem.text) - color: "white" - verticalAlignment: Text.AlignVCenter - textFormat: Text.RichText - } - } - } - MenuBar { id: applicationMenu width: parent.width - delegate: menuBarComponent FileMenu {} EditMenu {}