Try to silence warnings and add a comment for Irene to

fix these appropriately next week.

svn path=/trunk/; revision=54041
This commit is contained in:
Michael Tüxen 2013-12-13 13:00:29 +00:00
parent 0c5eccc277
commit 9a5d23c83c
2 changed files with 3 additions and 3 deletions

View File

@ -143,7 +143,7 @@ void SCTPGraphByteDialog::on_pushButton_4_clicked()
void SCTPGraphByteDialog::graphClicked(QCPAbstractPlottable* plottable, QMouseEvent* event)
{
if (plottable->name().contains("Bytes", Qt::CaseInsensitive)) {
double bytes = round(ui->sctpPlot->yAxis->pixelToCoord(event->pos().y()));
double bytes = (ui->sctpPlot->yAxis->pixelToCoord(event->pos().y())); // FIXME IRENE
int i;
for (i = 0; i < yb.size(); i++) {
if (bytes <= yb.value(i)) {

View File

@ -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())));
}