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 {}