summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-03-02 22:34:39 +0100
committerGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-07 00:13:35 +0200
commit70a93c130a44125b02d518f37f638356295e1781 (patch)
tree30c0293eb926a0c466baac6550f76080a38871de /profile-widget/profilewidget2.h
parent76a41f45c7e69375f13b3942523e0f8753b1f9b7 (diff)
downloadsubsurface-70a93c130a44125b02d518f37f638356295e1781.tar.gz
cleanup: use QMenu::addAction() convenience overload
Since we removed the setData() calls of the QActions in ProfileWidget2::contextMenuEvent(), we don't have to manually generate the QActions. We can simply use the convenience overload of addAction() that takes a string and a functional. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
0 files changed, 0 insertions, 0 deletions