forked from qt-creator/qt-creator
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 <christian.stenger@theqtcompany.com>
This commit is contained in:
committed by
Christian Stenger
parent
d0b258a5df
commit
9a3efd4950
@@ -54,7 +54,9 @@ namespace Internal {
|
|||||||
|
|
||||||
ResultsTreeView::ResultsTreeView(QWidget *parent)
|
ResultsTreeView::ResultsTreeView(QWidget *parent)
|
||||||
: Utils::TreeView(parent)
|
: Utils::TreeView(parent)
|
||||||
{}
|
{
|
||||||
|
setAttribute(Qt::WA_MacShowFocusRect, false);
|
||||||
|
}
|
||||||
|
|
||||||
void ResultsTreeView::keyPressEvent(QKeyEvent *event)
|
void ResultsTreeView::keyPressEvent(QKeyEvent *event)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user