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

@@ -376,6 +376,7 @@ NavigationSubWidget::NavigationSubWidget(NavigationWidget *parentWidget)
m_navigationComboBox = new NavComboBox(this);
m_navigationComboBox->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
m_navigationComboBox->setFocusPolicy(Qt::TabFocus);
m_navigationComboBox->setMinimumContentsLength(0);
m_navigationWidget = 0;