Some minor code style comments (possibly my code to start with!):
In PointerBarrierWrapper::createBarrier(), please add braces around statements like:
+ if (!m_enabled)
+ return;
Can you add a debug comment explaining that barrier must be horizontal/vertical here:
+ if ((m_p1.x() != m_p2.x()) && (m_p1.y() != m_p2.y()))
+ return;
In PointerBarrierWrapper::decay(), your indentation is wrong, 2 spaces instead of the usual 4.
You should add yourself as an author to pointerbarrier.h
Some minor code style comments (possibly my code to start with!):
In PointerBarrierW rapper: :createBarrier( ), please add braces around statements like:
+ if (!m_enabled)
+ return;
Can you add a debug comment explaining that barrier must be horizontal/vertical here:
+ if ((m_p1.x() != m_p2.x()) && (m_p1.y() != m_p2.y()))
+ return;
In PointerBarrierW rapper: :decay( ), your indentation is wrong, 2 spaces instead of the usual 4.
You should add yourself as an author to pointerbarrier.h