diff options
author | Rohan Garg <rohangarg@kubuntu.org> | 2010-12-23 19:49:54 +0530 |
---|---|---|
committer | Rohan Garg <rohangarg@kubuntu.org> | 2010-12-23 19:49:54 +0530 |
commit | bf4d66a35f5a86376e50fe31179bceedcad75045 (patch) | |
tree | c546db5a052b4dce355e89b3a1755f2cc3e8eff8 /src | |
parent | rekonq 0.6.56 (diff) | |
download | rekonq-bf4d66a35f5a86376e50fe31179bceedcad75045.tar.xz |
Highlight current tab in tab list by making it bold.
Thanks to Furkan
Diffstat (limited to 'src')
-rw-r--r-- | src/mainwindow.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 938e6985..61ffce1f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -1261,6 +1261,12 @@ void MainWindow::aboutToShowTabListMenu() KAction *action = new KAction(m_view->tabText(i), this); action->setIcon(Application::iconManager()->iconForUrl(m_view->webTab(i)->url()).pixmap(16, 16)); action->setData(i); + if(mainView()->tabBar()->currentIndex() == i) + { + QFont font; + font.setBold(true); + action->setFont(font); + } m_tabListMenu->addAction(action); } m_tabListMenu->adjustSize(); |