From 5e6700e708cdf2f55a1bde3140a1af4a4ffbea96 Mon Sep 17 00:00:00 2001 From: con <qtc-committer@nokia.com> Date: Thu, 25 Feb 2010 13:07:50 +0100 Subject: [PATCH] Don't show focus rect in target selector on Mac. --- src/plugins/projectexplorer/miniprojecttargetselector.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/projectexplorer/miniprojecttargetselector.cpp b/src/plugins/projectexplorer/miniprojecttargetselector.cpp index c0e4f9537a8..180a4ed724d 100644 --- a/src/plugins/projectexplorer/miniprojecttargetselector.cpp +++ b/src/plugins/projectexplorer/miniprojecttargetselector.cpp @@ -119,6 +119,7 @@ ProjectListWidget::ProjectListWidget(ProjectExplorer::Project *project, QWidget setAlternatingRowColors(false); setFocusPolicy(Qt::WheelFocus); setItemDelegate(new TargetSelectorDelegate(this)); + setAttribute(Qt::WA_MacShowFocusRect, false); connect(this, SIGNAL(currentRowChanged(int)), SLOT(setTarget(int))); } -- GitLab