Qt: remove unneeded check (CID: 1415729).

base_graph_ is always set in the constructor.

Change-Id: I760e26a612458c15b47cd5381a6b7eb284b2cdf4
Reviewed-on: https://code.wireshark.org/review/25041
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Dario Lombardo 2017-12-28 19:34:36 +01:00 committed by Michael Mann
parent 0b124bff9b
commit 727fac4559
1 changed files with 1 additions and 1 deletions

View File

@ -588,7 +588,7 @@ void TCPStreamDialog::fillGraph(bool reset_axes, bool set_focus)
else
sp->replot();
// Throughput and Window Scale graphs can hide base_graph_
if (base_graph_ && base_graph_->visible())
if (base_graph_->visible())
tracer_->setGraph(base_graph_);
// XXX QCustomPlot doesn't seem to draw any sort of focus indicator.