Commit a98be2bd authored by Stefan Majewsky's avatar Stefan Majewsky

Revert r1119463 for wheel events.

svn path=/trunk/KDE/kdegames/palapeli/; revision=1129844
parent 4490f21b
......@@ -162,7 +162,7 @@ Palapeli::EventProcessingFlags Palapeli::TriggerMapper::testTrigger(const Palape
{
if (trigger.isValid())
{
const bool testModifiers = trigger.modifiers() == Qt::NoModifier || trigger.modifiers() == event->modifiers();
const bool testModifiers = trigger.modifiers() == event->modifiers();
const bool checkDirection = trigger.wheelDirection() != 0;
const bool testDirection = trigger.wheelDirection() == event->orientation();
if (testModifiers && checkDirection && testDirection)
......
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