Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
4a1a0e83
Commit
4a1a0e83
authored
Feb 23, 2009
by
con
Browse files
Fixes: - Don't show Mac focus halo in locator and find
Task: - 242931
parent
590ab939
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/find/findtoolbar.cpp
View file @
4a1a0e83
...
...
@@ -79,6 +79,8 @@ FindToolBar::FindToolBar(FindPlugin *plugin, CurrentDocumentFind *currentDocumen
addWidget
(
m_widget
);
setFocusProxy
(
m_ui
.
findEdit
);
setProperty
(
"topBorder"
,
true
);
m_ui
.
findEdit
->
setAttribute
(
Qt
::
WA_MacShowFocusRect
,
false
);
m_ui
.
replaceEdit
->
setAttribute
(
Qt
::
WA_MacShowFocusRect
,
false
);
connect
(
m_ui
.
findEdit
,
SIGNAL
(
editingFinished
()),
this
,
SLOT
(
invokeResetIncrementalSearch
()));
...
...
src/plugins/quickopen/quickopentoolwindow.cpp
View file @
4a1a0e83
...
...
@@ -281,6 +281,7 @@ QuickOpenToolWindow::QuickOpenToolWindow(QuickOpenPlugin *qop) :
m_fileLineEdit
->
setUseLayoutDirection
(
true
);
m_fileLineEdit
->
setHintText
(
tr
(
"Type to locate"
));
m_fileLineEdit
->
setFocusPolicy
(
Qt
::
ClickFocus
);
m_fileLineEdit
->
setAttribute
(
Qt
::
WA_MacShowFocusRect
,
false
);
m_fileLineEdit
->
installEventFilter
(
this
);
this
->
installEventFilter
(
this
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment