mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Turn filter list options into context menu
Let the menu introduced in commit 5e86442bab
pop up on right-click instead of button-click.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
931947b852
commit
b86c70ab2c
3 changed files with 12 additions and 15 deletions
|
@ -167,6 +167,7 @@ public:
|
|||
};
|
||||
|
||||
class FilterBase : public QWidget {
|
||||
void addContextMenuEntry(const QString &s, void (FilterModelBase::*)());
|
||||
protected:
|
||||
FilterBase(FilterModelBase *model, QWidget *parent = 0);
|
||||
FilterModelBase *model;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue