From f2faf7acf4445fef2a149ebbdecb569a2d119d94 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 2 Jul 2018 08:20:47 +0200 Subject: nothing important --- tracker-pt/module/frame.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tracker-pt/module/frame.cpp') diff --git a/tracker-pt/module/frame.cpp b/tracker-pt/module/frame.cpp index f54c2e36..6734edf6 100644 --- a/tracker-pt/module/frame.cpp +++ b/tracker-pt/module/frame.cpp @@ -2,9 +2,6 @@ #include "compat/math.hpp" -#include -#include - #include using namespace pt_module; @@ -16,7 +13,7 @@ Preview& Preview::operator=(const pt_frame& frame_) if (frame.channels() != 3) { - once_only(qDebug() << "tracker/pt: camera frame depth: 3 !=" << frame.channels()); + eval_once(qDebug() << "tracker/pt: camera frame depth: 3 !=" << frame.channels()); return *this; } @@ -42,7 +39,7 @@ QImage Preview::get_bitmap() if (stride < 64 || stride < frame_out.cols * 4) { - once_only(qDebug() << "bad stride" << stride + eval_once(qDebug() << "bad stride" << stride << "for bitmap size" << frame_copy.cols << frame_copy.rows); return QImage(); } -- cgit v1.2.3