Commit 4c63855f authored by hjk's avatar hjk
Browse files

Debugger: Remove unused UpdateData::tooltipOnly member



Change-Id: I15c6f16a258c0d664d2378150c4b3277a29c4b5c
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 23b4dc12
......@@ -328,7 +328,6 @@ class Dumper(DumperBase):
self.nativeMixed = "nativemixed" in self.options
self.autoDerefPointers = "autoderef" in self.options
self.partialUpdate = "partial" in self.options
self.tooltipOnly = "tooltiponly" in self.options
self.fallbackQtVersion = 0x50200
#warn("NAMESPACE: '%s'" % self.qtNamespace())
#warn("VARIABLES: %s" % self.varList)
......
......@@ -3683,7 +3683,6 @@ bool GdbEngine::setToolTipExpression(TextEditor::TextEditorWidget *editor,
UpdateParameters params;
params.tryPartial = true;
params.tooltipOnly = true;
params.varList = context.iname;
updateLocalsPython(params);
return true;
......@@ -3731,9 +3730,7 @@ void GdbEngine::updateWatchData(const WatchData &data, const WatchUpdateFlags &f
// << (m_pendingBreakpointRequests == 0);
UpdateParameters params;
params.tooltipOnly = data.iname.startsWith("tooltip");
params.tryPartial = flags.tryIncremental
&& m_pendingBreakpointRequests == 0;
params.tryPartial = flags.tryIncremental && m_pendingBreakpointRequests == 0;
params.varList = data.iname;
updateLocalsPython(params);
......@@ -4813,8 +4810,6 @@ void GdbEngine::updateLocalsPython(const UpdateParameters &params)
options += "defaults,";
if (params.tryPartial)
options += "partial,";
if (params.tooltipOnly)
options += "tooltiponly,";
options.chop(1);
QByteArray context;
......
......@@ -788,7 +788,6 @@ bool LldbEngine::setToolTipExpression(TextEditor::TextEditorWidget *editorWidget
UpdateParameters params;
params.tryPartial = true;
params.tooltipOnly = true;
params.varList = context.iname;
doUpdateLocals(params);
......@@ -863,7 +862,6 @@ void LldbEngine::doUpdateLocals(UpdateParameters params)
cmd.arg("autoderef", boolSetting(AutoDerefPointers));
cmd.arg("dyntype", boolSetting(UseDynamicType));
cmd.arg("partial", params.tryPartial);
cmd.arg("tooltiponly", params.tooltipOnly);
cmd.beginList("watchers");
......
......@@ -155,10 +155,9 @@ class DebuggerEngine;
class UpdateParameters
{
public:
UpdateParameters() { tryPartial = tooltipOnly = false; }
UpdateParameters() { tryPartial = false; }
bool tryPartial;
bool tooltipOnly;
QByteArray varList;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment