Skip to content

Truly independent web browser

UI/Qt: Avoid creating Qt close buttons that we replace

Callum Law4907d3d2783f
diff --git a/UI/Qt/TabBar.cpp b/UI/Qt/TabBar.cpp
index 1aa56e362b8..e621cad0cef 100644
--- a/UI/Qt/TabBar.cpp
+++ b/UI/Qt/TabBar.cpp
@@ -3122,7 +3122,6 @@ TabWidget::TabWidget(WebView::IsPrivate is_private, QWidget* parent)
m_tab_bar->setDocumentMode(true);
m_tab_bar->setElideMode(Qt::TextElideMode::ElideRight);
m_tab_bar->setMovable(false);
- m_tab_bar->setTabsClosable(true);
m_tab_bar->setExpanding(false);
m_tab_bar->setUsesScrollButtons(false);
m_tab_bar->setDrawBase(false);