summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiliph Sandström <filiph.sandstrom@filfatstudios.com>2022-07-12 11:42:40 +0200
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-25 07:58:58 -0700
commitea7e637b6e690ce0167c4d2c60dd507d4cbff210 (patch)
tree5558c2ff8a0a3c230dc7e1c3ea48e602a7cb16f6
parentace44dc13badf4bb1ac7cef31be4a3df975bb5c6 (diff)
downloadserenity-ea7e637b6e690ce0167c4d2c60dd507d4cbff210.zip
Ladybird: Fix title branding when switching tabs
-rw-r--r--Ladybird/BrowserWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ladybird/BrowserWindow.cpp b/Ladybird/BrowserWindow.cpp
index 587397a3fd..553b1d037e 100644
--- a/Ladybird/BrowserWindow.cpp
+++ b/Ladybird/BrowserWindow.cpp
@@ -152,7 +152,7 @@ BrowserWindow::BrowserWindow(Core::EventLoop& event_loop)
QObject::connect(new_tab_action, &QAction::triggered, this, &BrowserWindow::new_tab);
QObject::connect(quit_action, &QAction::triggered, this, &QMainWindow::close);
QObject::connect(m_tabs_container, &QTabWidget::currentChanged, [this](int index) {
- setWindowTitle(m_tabs_container->tabText(index));
+ setWindowTitle(QString("%1 - Ladybird").arg(m_tabs_container->tabText(index)));
setWindowIcon(m_tabs_container->tabIcon(index));
});
QObject::connect(m_tabs_container, &QTabWidget::tabCloseRequested, this, &BrowserWindow::close_tab);