Skip to content
Snippets Groups Projects
Commit 7ef9763e authored by ld3812s's avatar ld3812s Committed by l.dressen
Browse files

call imageSizeChanged directly

parent e1db8d0a
No related tags found
1 merge request!322fix for jittering
Pipeline #127154 passed
......@@ -2560,15 +2560,7 @@ void Petrack::updateControlImage(cv::Mat &img)
const int imgWidth = img.cols;
const int imgHeight = img.rows;
// no direct invocation to have correct order of invocations
// (direct invocation gets executed immediately, i.e. before queued connection)
QMetaObject::invokeMethod(
mControlWidget,
"imageSizeChanged",
Qt::ConnectionType::AutoConnection,
Q_ARG(int, imgWidth),
Q_ARG(int, imgHeight),
Q_ARG(int, diffBorderSize));
mControlWidget->imageSizeChanged(imgWidth, imgHeight, diffBorderSize);
}
void Petrack::importTracker(QString dest) // default = ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment