UI/Qt: Add a tooltip for the close tab button
This commit is contained in:
parent
9bda97a11b
commit
f6a009e757
1 changed files with 2 additions and 0 deletions
|
|
@ -593,6 +593,8 @@ void BrowserWindow::create_close_button_for_tab(Tab* tab)
|
|||
m_tabs_container->set_tab_icon(index, tab->favicon());
|
||||
|
||||
auto* button = new TabBarButton(create_tvg_icon_with_theme_colors("close", palette()));
|
||||
button->setToolTip("Close Tab");
|
||||
|
||||
auto position = audio_button_position_for_tab(index) == QTabBar::LeftSide ? QTabBar::RightSide : QTabBar::LeftSide;
|
||||
|
||||
connect(button, &QPushButton::clicked, this, [this, tab]() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue