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
850f20e1
Commit
850f20e1
authored
Feb 18, 2011
by
Friedemann Kleint
Browse files
Debugger/Tooltips: Fix a crash when closing all from unpinned tips.
Leave event would close the widget.
parent
fe33a098
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/debugger/debuggertooltipmanager.cpp
View file @
850f20e1
...
...
@@ -506,7 +506,8 @@ void PinnableToolTipWidget::toolButtonClicked()
void
PinnableToolTipWidget
::
leaveEvent
(
QEvent
*
)
{
if
(
m_pinState
==
Unpinned
&&
QApplication
::
keyboardModifiers
()
==
Qt
::
NoModifier
)
{
if
(
!
m_menu
->
isVisible
()
&&
m_pinState
==
Unpinned
&&
QApplication
::
keyboardModifiers
()
==
Qt
::
NoModifier
)
{
if
(
debugToolTips
)
qDebug
(
"ToolTipWidget::leaveEvent: closing %p"
,
this
);
close
();
...
...
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