Make mouse dragging work as it should.

This patch makes mouse dragging work as it should, a tiny
bit different than the old version, but I think it's a better
way. What's missing: Keyboard actions.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2014-05-23 22:22:02 -03:00 committed by Dirk Hohndel
parent 8a1e4b04db
commit f67693b2e0
2 changed files with 20 additions and 2 deletions

View file

@ -149,6 +149,7 @@ private:
QList<DiveHandler *> handles;
QList<QGraphicsSimpleTextItem *> gases;
void repositionDiveHandlers();
int fixHandlerIndex(DiveHandler *activeHandler);
};
#endif // PROFILEWIDGET2_H