From 9a3efd49503afd728dd45a8cb4610036fb1c4ebe Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Tue, 19 Jan 2016 11:58:47 +0100 Subject: [PATCH] Don't show focus frame on OS X The focus frame needs a border around the view, but there isn't. Change-Id: I9d7b206445be9f8e43bd9168ccea2075f4ac4bb7 Reviewed-by: Christian Stenger --- plugins/autotest/testresultspane.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/autotest/testresultspane.cpp b/plugins/autotest/testresultspane.cpp index 42886027fc2..df84ebd1b20 100644 --- a/plugins/autotest/testresultspane.cpp +++ b/plugins/autotest/testresultspane.cpp @@ -54,7 +54,9 @@ namespace Internal { ResultsTreeView::ResultsTreeView(QWidget *parent) : Utils::TreeView(parent) -{} +{ + setAttribute(Qt::WA_MacShowFocusRect, false); +} void ResultsTreeView::keyPressEvent(QKeyEvent *event) {