diff options
-rw-r--r-- | tracker-aruco/pt_video_widget.cpp | 4 | ||||
-rw-r--r-- | tracker-pt/pt_video_widget.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tracker-aruco/pt_video_widget.cpp b/tracker-aruco/pt_video_widget.cpp index 749eca0b..d8380caa 100644 --- a/tracker-aruco/pt_video_widget.cpp +++ b/tracker-aruco/pt_video_widget.cpp @@ -36,11 +36,11 @@ void PTVideoWidget::update_image(const cv::Mat& frame) } } -void PTVideoWidget::paintEvent(QPaintEvent* e) +void PTVideoWidget::paintEvent(QPaintEvent*) { QMutexLocker foo(&mtx); QPainter painter(this); - painter.drawImage(e->rect(), texture); + painter.drawImage(rect(), texture); } void PTVideoWidget::update_and_repaint() diff --git a/tracker-pt/pt_video_widget.cpp b/tracker-pt/pt_video_widget.cpp index 749eca0b..d8380caa 100644 --- a/tracker-pt/pt_video_widget.cpp +++ b/tracker-pt/pt_video_widget.cpp @@ -36,11 +36,11 @@ void PTVideoWidget::update_image(const cv::Mat& frame) } } -void PTVideoWidget::paintEvent(QPaintEvent* e) +void PTVideoWidget::paintEvent(QPaintEvent*) { QMutexLocker foo(&mtx); QPainter painter(this); - painter.drawImage(e->rect(), texture); + painter.drawImage(rect(), texture); } void PTVideoWidget::update_and_repaint() |