summaryrefslogtreecommitdiff
path: root/ui/qt/sctp_graph_arwnd_dialog.cpp
diff options
context:
space:
mode:
authorIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-12-17 09:51:34 +0000
committerIrene RĂ¼ngeler <I.Ruengeler@fh-muenster.de>2013-12-17 09:51:34 +0000
commit7eb50571f4fd69c7ce0ad3c39e193ad36bbcc437 (patch)
tree895e7f3388552784bec08e07ce82c9eca28d6828 /ui/qt/sctp_graph_arwnd_dialog.cpp
parent25a74d3f2aaff7c0273d66c0313ed172d3f37662 (diff)
downloadwireshark-7eb50571f4fd69c7ce0ad3c39e193ad36bbcc437.tar.gz
Find the right frame when plottable was clicked.
svn path=/trunk/; revision=54167
Diffstat (limited to 'ui/qt/sctp_graph_arwnd_dialog.cpp')
-rw-r--r--ui/qt/sctp_graph_arwnd_dialog.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/qt/sctp_graph_arwnd_dialog.cpp b/ui/qt/sctp_graph_arwnd_dialog.cpp
index 7badd8f45b..b41a4392d3 100644
--- a/ui/qt/sctp_graph_arwnd_dialog.cpp
+++ b/ui/qt/sctp_graph_arwnd_dialog.cpp
@@ -78,7 +78,6 @@ void SCTPGraphArwndDialog::drawArwndGraph()
nr_sack_header =(struct nr_sack_chunk_header *)tlist->data;
arwnd = g_ntohl(nr_sack_header->a_rwnd);
}
- // printf("frame %d arwnd=%d\n", tsn->frame_number, arwnd);
ya.append(arwnd);
xa.append(tsn->secs + tsn->usecs/1000000.0);
fa.append(tsn->frame_number);
@@ -150,7 +149,7 @@ void SCTPGraphArwndDialog::graphClicked(QCPAbstractPlottable* plottable, QMouseE
cf_goto_frame(cap_file_, frame_num);
}
- ui->hintLabel->setText(QString("<small><i>Graph %1: arwnd=%2 Time=%3 secs </i></small>")
+ ui->hintLabel->setText(QString("<small><i>Graph %1: a_rwnd=%2 Time=%3 secs </i></small>")
.arg(plottable->name())
.arg(ya.value(i))
.arg(xa.value(i)));