aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-01-14 10:41:52 +0100
committerEike Ziller <eike.ziller@qt.io>2019-01-14 16:07:09 +0000
commita111daf93ea954b86791581ea3ac53e15ea145d4 (patch)
treec2e642f43a7cc4444408025e4d51743c2a2972c6 /src
parent951aee8f3a79b0ae66255c9bd1712970ca857299 (diff)
Fix that debugger tooltips were overridden by editor tooltips
The debugger tells the editor if the tool tip was handled or not, but since that information is transferred through a reference parameter in a signal/slot connection, a second debugger engine overrode the value of a previous one. So never set it to 'false' so a previous 'true' is not overridden. Fixes: QTCREATORBUG-21825 Change-Id: Iec3d15485f224ab0ad14564656886a53fec62e71 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/debugger/debuggertooltipmanager.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggertooltipmanager.cpp b/src/plugins/debugger/debuggertooltipmanager.cpp
index 7b733c6d62..647baa92bc 100644
--- a/src/plugins/debugger/debuggertooltipmanager.cpp
+++ b/src/plugins/debugger/debuggertooltipmanager.cpp
@@ -1185,7 +1185,6 @@ void DebuggerToolTipManagerPrivate::slotTooltipOverrideRequested
{
QTC_ASSERT(handled, return);
QTC_ASSERT(editorWidget, return);
- *handled = false;
if (!boolSetting(UseToolTipsInMainEditor))
return;