Commit baf613bc authored by Rok Mandeljc's avatar Rok Mandeljc

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).
parent 6c125331
...@@ -414,7 +414,7 @@ public: ...@@ -414,7 +414,7 @@ public:
protected: protected:
void icvmouseEvent(QMouseEvent* event, type_mouse_event category); void icvmouseEvent(QMouseEvent* event, type_mouse_event category);
void icvmouseHandler(QMouseEvent* event, type_mouse_event category, int& cv_event, int& flags); 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; CvMouseCallback mouseCallback;
void* mouseData; void* mouseData;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment