diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2013-12-13 13:00:29 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2013-12-13 13:00:29 +0000 |
commit | 9a5d23c83ce7c92f5bf692159080d0ec149164d7 (patch) | |
tree | dcd7ef4f55a3839135d9c18e3048b44b407b91c3 /ui/qt/sctp_graph_dialog.cpp | |
parent | 0c5eccc2771805f6ccc186369dc7b1c2785f6916 (diff) |
Try to silence warnings and add a comment for Irene to
fix these appropriately next week.
svn path=/trunk/; revision=54041
Diffstat (limited to 'ui/qt/sctp_graph_dialog.cpp')
-rw-r--r-- | ui/qt/sctp_graph_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/qt/sctp_graph_dialog.cpp b/ui/qt/sctp_graph_dialog.cpp index 9bab27cb1b..e149cac052 100644 --- a/ui/qt/sctp_graph_dialog.cpp +++ b/ui/qt/sctp_graph_dialog.cpp @@ -363,7 +363,7 @@ void SCTPGraphDialog::graphClicked(QCPAbstractPlottable* plottable, QMouseEvent* { if (plottable->name().contains("Graph", Qt::CaseInsensitive)) { // double tsn = round(ui->sctpPlot->yAxis->pixelToCoord(event->pos().y())); - int index = yt.indexOf(round(ui->sctpPlot->yAxis->pixelToCoord(event->pos().y()))); + int index = yt.indexOf((ui->sctpPlot->yAxis->pixelToCoord(event->pos().y()))); // FIXME IRENE // double time = xt.at(index); frame_num = ft.at(index); if (cap_file_ && frame_num > 0) { @@ -374,7 +374,7 @@ void SCTPGraphDialog::graphClicked(QCPAbstractPlottable* plottable, QMouseEvent* ui->hintLabel->setText(QString("<small><i>%1: %2: %3 Time: %4 secs </i></small>") .arg(plottable->name()) .arg(typeStrings[num-1]) - .arg(round(ui->sctpPlot->yAxis->pixelToCoord(event->pos().y()))) + .arg((ui->sctpPlot->yAxis->pixelToCoord(event->pos().y()))) // FIXME IRENE .arg(ui->sctpPlot->xAxis->pixelToCoord(event->pos().x()))); } |