forked from qt-creator/qt-creator
Don't show focus rect in target selector on Mac.
This commit is contained in:
@@ -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)));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user