From 731dead13fbb19a5b283d981e0661f505289bb7e Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Sun, 21 Feb 2021 20:13:42 +1100 Subject: MainWindow: set tab tooltips --- src/mainwindow.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 8594f7a..8c0fc8a 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -376,6 +376,9 @@ void MainWindow::on_tab_titleChanged(const QString &title) updateWindowTitle(); } + // Set tooltip + this->ui->browser_tabs->tab_bar->setTabToolTip(index, title); + // Shorten lengthy titles for tab bar (45 chars max for now - we assume // that Gemini surfers don't usually have loads of tabs open, so the // limit is fairly high) -- cgit v1.2.3