summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/pt_video_widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/pt_video_widget.cpp')
-rw-r--r--tracker-pt/pt_video_widget.cpp4
1 files changed, 2 insertions, 2 deletions
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()