diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-11-22 00:22:57 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-22 07:40:32 -0800 |
commit | abc81fbd01062fd2673dc44ff0f887fdf16d127f (patch) | |
tree | 93f00872364b0a961e4bdc7873981a660ab5c8be /divelist.h | |
parent | 6fd0087a275f9e66aadfe890cecb84a7cab0ce61 (diff) | |
download | subsurface-abc81fbd01062fd2673dc44ff0f887fdf16d127f.tar.gz |
Disables zooming by double click and context menu on marble.
Marble is a weird piece of Qt software, it seems that it wasn't
thought of being a library when first written. Most of its features
are not achieved by subclassing && overriding one of Qt default methods,
instead we need to eventFilter for almost everything ( which is a pain,
and a bit error prone - see our combo box delegate *puke*. )
This one's ready, only one thing though - if we want to implement
our own context menu, we will need to use the eventFilter, and not
the contextMenuEvent.
Fixes #291
[Dirk Hohndel: this does not disable the context menu for me...]
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.h')
0 files changed, 0 insertions, 0 deletions