Don't show focus rect in target selector on Mac.

This commit is contained in:
con
2010-02-25 13:07:50 +01:00
parent e0572239ba
commit 5e6700e708

View File

@@ -119,6 +119,7 @@ ProjectListWidget::ProjectListWidget(ProjectExplorer::Project *project, QWidget
setAlternatingRowColors(false); setAlternatingRowColors(false);
setFocusPolicy(Qt::WheelFocus); setFocusPolicy(Qt::WheelFocus);
setItemDelegate(new TargetSelectorDelegate(this)); setItemDelegate(new TargetSelectorDelegate(this));
setAttribute(Qt::WA_MacShowFocusRect, false);
connect(this, SIGNAL(currentRowChanged(int)), SLOT(setTarget(int))); connect(this, SIGNAL(currentRowChanged(int)), SLOT(setTarget(int)));
} }