From 33620660c4d4184d03c91463c3c5bf9bb04f9de1 Mon Sep 17 00:00:00 2001 From: Rohan Garg Date: Fri, 24 Dec 2010 20:32:04 +0530 Subject: Grab the actual font from the action. --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit v1.2.1