diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 13:44:19 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-11-05 13:45:51 -0800 |
commit | e7edaea4f85fc998ed56e098d306b957fd0a24bc (patch) | |
tree | 97c5afef165eded2c5829976dc81b1a406bc73bd /profile-widget/profilewidget2.h | |
parent | 2b9316e16ab94b1a8ef7a0c5abbce2f80abf5053 (diff) | |
download | subsurface-e7edaea4f85fc998ed56e098d306b957fd0a24bc.tar.gz |
Untangle Profile from MainWindow: edit current profile
And action can't not just trigger a slot, it can also send a signal.
With this there is no reference to the MainWindow left in the profile.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile-widget/profilewidget2.h')
-rw-r--r-- | profile-widget/profilewidget2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/profile-widget/profilewidget2.h b/profile-widget/profilewidget2.h index f5977eb22..dcfc72c17 100644 --- a/profile-widget/profilewidget2.h +++ b/profile-widget/profilewidget2.h @@ -94,6 +94,7 @@ signals: void disableShortcuts(bool paste); void refreshDisplay(bool recreateDivelist); void updateDiveInfo(bool clear); + void editCurrentDive(); public slots: // Necessary to call from QAction's signals. |