From 1bc082b91cd67a1d110e89e10ab33a2853ebf19c Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Wed, 2 May 2018 16:07:43 -0600 Subject: [PATCH] Variable type fix --- openbr/plugins/imgproc/rndrotate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/imgproc/rndrotate.cpp b/openbr/plugins/imgproc/rndrotate.cpp index 2c3ec4c..50f2922 100644 --- a/openbr/plugins/imgproc/rndrotate.cpp +++ b/openbr/plugins/imgproc/rndrotate.cpp @@ -37,7 +37,7 @@ class RndRotateTransform : public UntrainableTransform Q_PROPERTY(bool rotatePoints READ get_rotatePoints WRITE set_rotatePoints RESET reset_rotatePoints STORED false) Q_PROPERTY(bool rotateRects READ get_rotateRects WRITE set_rotateRects RESET reset_rotateRects STORED false) Q_PROPERTY(int centerIndex READ get_centerIndex WRITE set_centerIndex RESET reset_centerIndex STORED false) - Q_PROPERTY(int useRect READ get_useRect WRITE set_useRect RESET reset_useRect STORED false) + Q_PROPERTY(bool useRect READ get_useRect WRITE set_useRect RESET reset_useRect STORED false) BR_PROPERTY(QList, range, QList() << -15 << 15) BR_PROPERTY(bool, rotateMat, true) BR_PROPERTY(bool, rotatePoints, true) -- libgit2 0.21.4