aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-02-21 20:13:42 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-02-23 11:31:33 +0100
commit731dead13fbb19a5b283d981e0661f505289bb7e (patch)
tree1c5a9995fcd3c94bdb5891dd8b330fa3bba58f4f /src/mainwindow.cpp
parent195b5560ab1b39eb9d99815814e49f376bb4c571 (diff)
downloadkristall-731dead13fbb19a5b283d981e0661f505289bb7e.tar.gz
MainWindow: set tab tooltips
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
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)