summaryrefslogtreecommitdiffstats
path: root/profile-widget/profilewidget2.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-01-10 16:50:57 +0100
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-01-10 21:25:02 +0100
commit769c64fe5e34e0dd4d0d1641093765210a91ecff (patch)
tree8644ba2351acaa8ab1fa8d5d75176d87efbed5d5 /profile-widget/profilewidget2.h
parent3d8b0e6d3f7fb9f0efbb257889ec9d654a50bfc0 (diff)
downloadsubsurface-769c64fe5e34e0dd4d0d1641093765210a91ecff.tar.gz
Replace ADD_ACTION macro by member function in profilewidget2.cpp
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r--profile-widget/profilewidget2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h
index 8c61952b4..6d292c5ab 100644
--- a/profile-widget/profilewidget2.h
+++ b/profile-widget/profilewidget2.h
@@ -160,6 +160,7 @@ private: /*methods*/
void setupItemOnScene();
void disconnectTemporaryConnections();
struct plot_data *getEntryFromPos(QPointF pos);
+ void addActionShortcut(const Qt::Key shortcut, void (ProfileWidget2::*slot)());
private:
DivePlotDataModel *dataModel;