mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
highgui: window_QT: added missing virtual method specifier
Fixes #7603, which was caused by OCVViewPort::icvmouseProcessing not being declared as virtual, and hence was not overriden by DefaultViewPort::icvmouseProcessing (which does the inverse coordinate mapping).
This commit is contained in:
parent
6c12533160
commit
baf613bc5c
@ -414,7 +414,7 @@ public:
|
||||
protected:
|
||||
void icvmouseEvent(QMouseEvent* event, type_mouse_event category);
|
||||
void icvmouseHandler(QMouseEvent* event, type_mouse_event category, int& cv_event, int& flags);
|
||||
void icvmouseProcessing(QPointF pt, int cv_event, int flags);
|
||||
virtual void icvmouseProcessing(QPointF pt, int cv_event, int flags);
|
||||
|
||||
CvMouseCallback mouseCallback;
|
||||
void* mouseData;
|
||||
|
Loading…
Reference in New Issue
Block a user