Commit 47da9ac4f48f79ac0a534934c8f04f72ea2dad62

  • avatar
  • swiesner <swiesner @283d02a7-25f6-0310…ecb5cbfe19da.>
  • Wed Aug 04 19:05:35 CEST 2010
Fixed two-finger pressure setting: Use the right device property

git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/playground/utils/synaptiks@1159182 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
  
372372
373373int Touchpad::twoFingerEmulationMinimumPressure() const {
374374 Q_D(const Touchpad);
375 return d->device->property<int>(TWO_FINGER_SCROLLING, 0);
375 return d->device->property<int>(TWO_FINGER_PRESSURE, 0);
376376}
377377
378378void Touchpad::setTwoFingerEmulationMinimumPressure(int pressure) {
379379 Q_D(Touchpad);
380 d->device->setProperty(TWO_FINGER_SCROLLING, pressure);
380 d->device->setProperty(TWO_FINGER_PRESSURE, pressure);
381381}
382382
383383int Touchpad::twoFingerEmulationMinimumWidth() const {