diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-04-12 12:48:38 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-03 14:47:49 -0700 |
commit | c1963fd5ddd82b5ed0133ce6b04be9d525e27d89 (patch) | |
tree | 5d1c2a3597bf5d2b30b9dd0f1a1e14512052fb5d /profile-widget/profilewidget2.h | |
parent | 2829909376a853cc8a304159d7bc02cae1e19316 (diff) | |
download | subsurface-c1963fd5ddd82b5ed0133ce6b04be9d525e27d89.tar.gz |
profile: use member-to-function style connect() statements
This makes things compile-time instead of run-time checked.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r-- | profile-widget/profilewidget2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index 6461f83ef..2e530261d 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -108,7 +108,6 @@ slots: // Necessary to call from QAction's signals. void actionRequestedReplot(bool triggered); void setEmptyState(); void setProfileState(); - void replot(); #ifndef SUBSURFACE_MOBILE void plotPictures(); void removePictures(const QVector<QString> &fileUrls); @@ -148,6 +147,7 @@ private: void dragEnterEvent(QDragEnterEvent *event) override; void dragMoveEvent(QDragMoveEvent *event) override; + void replot(); void changeGas(int tank, int seconds); void fixBackgroundPos(); void scrollViewTo(const QPoint &pos); |