From 999e63543fccc327f929329b7ae96164df492e92 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Thu, 9 Jan 2020 16:32:26 -0800 Subject: Qt: Add elements back to the tcptrace graph. Segment and SACK elements in the tcptrace graph are plotted using QCustomPlot's error bars. This part of QCP's API changed from version 1 to 2, and were #ifdef'ed out as part of the switch to QCP 2.0.1. Update our code to use the new API. Bug: 16281 Change-Id: Ieae2808686ddc631e0cd18c0c32fc7a2c0f396b7 Reviewed-on: https://code.wireshark.org/review/35726 Reviewed-by: Gerald Combs Petri-Dish: Gerald Combs Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman --- ui/qt/tcp_stream_dialog.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ui/qt/tcp_stream_dialog.h') diff --git a/ui/qt/tcp_stream_dialog.h b/ui/qt/tcp_stream_dialog.h index deb612d303..edd6133a15 100644 --- a/ui/qt/tcp_stream_dialog.h +++ b/ui/qt/tcp_stream_dialog.h @@ -68,9 +68,12 @@ private: QCPGraph *tput_graph_; QCPGraph *goodput_graph_; QCPGraph *seg_graph_; + QCPErrorBars *seg_eb_; QCPGraph *ack_graph_; QCPGraph *sack_graph_; + QCPErrorBars *sack_eb_; QCPGraph *sack2_graph_; + QCPErrorBars *sack2_eb_; QCPGraph *rwin_graph_; QCPGraph *dup_ack_graph_; QCPGraph *zero_win_graph_; -- cgit v1.2.3