summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@kubuntu.org>2010-12-24 20:32:04 +0530
committerRohan Garg <rohangarg@kubuntu.org>2010-12-24 20:32:04 +0530
commit33620660c4d4184d03c91463c3c5bf9bb04f9de1 (patch)
tree13bd5cfb043e4e09f2f7635f0517c9426fff138a
parentModify Nikhil's contrib entry as requested by him (diff)
downloadrekonq-33620660c4d4184d03c91463c3c5bf9bb04f9de1.tar.xz
Grab the actual font from the action.
-rw-r--r--src/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 61ffce1f..3a9c1246 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1263,7 +1263,7 @@ void MainWindow::aboutToShowTabListMenu()
action->setData(i);
if(mainView()->tabBar()->currentIndex() == i)
{
- QFont font;
+ QFont font = action->font();
font.setBold(true);
action->setFont(font);
}