aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/wireless_timeline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt/wireless_timeline.cpp')
-rw-r--r--ui/qt/wireless_timeline.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ui/qt/wireless_timeline.cpp b/ui/qt/wireless_timeline.cpp
index 56b1deda23..baac452847 100644
--- a/ui/qt/wireless_timeline.cpp
+++ b/ui/qt/wireless_timeline.cpp
@@ -151,7 +151,7 @@ void WirelessTimeline::mouseReleaseEvent(QMouseEvent *event)
return;
frame_data *fdata = frame_data_sequence_find(cfile.provider.frames, num);
- if (!fdata->flags.passed_dfilter && fdata->prev_dis_num > 0)
+ if (!fdata->passed_dfilter && fdata->prev_dis_num > 0)
num = fdata->prev_dis_num;
cf_goto_frame(&cfile, num);
@@ -584,12 +584,12 @@ WirelessTimeline::paintEvent(QPaintEvent *qpe)
* with all other sub pixels that fall within this
* pixel */
last_x = x;
- accumulate_rgb(rgb, height, fdata->flags.passed_dfilter, width, red, green, blue);
+ accumulate_rgb(rgb, height, fdata->passed_dfilter, width, red, green, blue);
} else {
/* it spans more than 1 pixel.
* first accumulate the part that does fit */
float partial = ((int) x) + 1 - x;
- accumulate_rgb(rgb, height, fdata->flags.passed_dfilter, partial, red, green, blue);
+ accumulate_rgb(rgb, height, fdata->passed_dfilter, partial, red, green, blue);
/* and render it */
render_pixels(p, (int) x, 1, rgb, ratio);
last_x = -1;
@@ -597,14 +597,14 @@ WirelessTimeline::paintEvent(QPaintEvent *qpe)
width -= partial;
/* are there any whole pixels of width left to draw? */
if (width > 1.0) {
- render_rectangle(p, x, width, height, fdata->flags.passed_dfilter, red, green, blue, ratio);
+ render_rectangle(p, x, width, height, fdata->passed_dfilter, red, green, blue, ratio);
x += (int) width;
width -= (int) width;
}
/* is there a partial pixel left */
if (width > 0.0) {
last_x = x;
- accumulate_rgb(rgb, height, fdata->flags.passed_dfilter, width, red, green, blue);
+ accumulate_rgb(rgb, height, fdata->passed_dfilter, width, red, green, blue);
}
}
}