From 14b5dc341ec84347abd00d86d12deec9d08c3dc6 Mon Sep 17 00:00:00 2001 From: mateosalta Date: Mon, 15 Mar 2021 07:13:08 -0500 Subject: [PATCH] rollback close button close button in header bar is unused now, now all the close buttons are shown on tabs, the tab close on the navigation bar flashes while the tab scrolls out of view. --- src/app/webbrowser/NavigationBar.qml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/app/webbrowser/NavigationBar.qml b/src/app/webbrowser/NavigationBar.qml index 0254c3573..2da720bb5 100644 --- a/src/app/webbrowser/NavigationBar.qml +++ b/src/app/webbrowser/NavigationBar.qml @@ -29,7 +29,6 @@ FocusScope { property alias searchUrl: addressbar.searchUrl readonly property string text: addressbar.text property alias bookmarked: addressbar.bookmarked - signal closeTabRequested() signal toggleBookmark() signal toggleDownloads() property bool showDownloadButton: false @@ -223,24 +222,6 @@ FocusScope { enabled: internal.webview && internal.webview.findController && internal.webview.findController.foundMatch onTriggered: internal.webview.findController.next() } - - ChromeButton { - id: closeButton - objectName: "closeButton" - - iconName: "close" - iconSize: 0.3 * height - iconColor: root.iconColor - - height: root.height - width: height * 0.8 - - anchors.verticalCenter: parent.verticalCenter - - visible: tabListMode - - onTriggered: closeTabRequested() - } ChromeButton { id: downloadsButton