From b008aefee41a21b24f1d2f1f23cd6c78b888ede5 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Thu, 26 May 2016 17:09:17 +0200 Subject: many modules: trivial cleanups only - Remove "this->" where it's not needed. Possibly rename shadowed vars. - Don't reload the options bundle manually since `options::opts' exists for that very reason. - Remove '^ \+$' whitespace - :retab --- tracker-ht/ht_video_widget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tracker-ht/ht_video_widget.cpp') diff --git a/tracker-ht/ht_video_widget.cpp b/tracker-ht/ht_video_widget.cpp index 02fe71d1..b62b9892 100644 --- a/tracker-ht/ht_video_widget.cpp +++ b/tracker-ht/ht_video_widget.cpp @@ -7,15 +7,15 @@ #include "ht_video_widget.h" -void HTVideoWidget::update_image(unsigned char *frame, int width, int height) +void HTVideoWidget::update_image(unsigned char *frame, int width_, int height_) { QMutexLocker foo(&mtx); if (!fresh) { - memcpy(fb, frame, width * height * 3); - this->width = width; - this->height = height; + width = width_; + height = height_; fresh = true; + memcpy(fb, frame, width_ * height_ * 3); } } -- cgit v1.2.3