Fix missing tabfocus with manhattanstyle

I added a new focus rect for combo boxes
with manhattan style. To reduce the visual
impact I follow the same policy we use on
windows where we do not show the focus rect
unless it is called upon by tabfocus.
This commit is contained in:
Jens Bache-Wiig
2010-03-01 14:51:48 +01:00
parent 5522e5cd27
commit a2ec8cc939
3 changed files with 14 additions and 18 deletions

View File

@@ -385,6 +385,7 @@ MiniProjectTargetSelector::MiniProjectTargetSelector(QAction *targetSelectorActi
bar->setFixedHeight(panelHeight);
m_projectsBox = new QComboBox;
m_projectsBox->setFocusPolicy(Qt::TabFocus);
f.setBold(false);
m_projectsBox->setFont(f);
m_projectsBox->ensurePolished();