diff options
author | Tomaz Canabrava <tomaz.canabrava@gmail.com> | 2015-05-16 18:51:43 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-05-17 13:42:09 -0700 |
commit | 2b99ae5781bc8c7ae596e6302f167a23f67ee2a0 (patch) | |
tree | d6fef9d1f7113f29d2e0f0b5d029a4101d94a238 /qt-ui/maintab.cpp | |
parent | 05552c7339d564c38d8d8aa1c4898a6736d070bf (diff) | |
download | subsurface-2b99ae5781bc8c7ae596e6302f167a23f67ee2a0.tar.gz |
Fix signal connections
I don't know what happened to me, I connected to some signals that didn't
exist at all.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r-- | qt-ui/maintab.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp index ebfa0537e..77f0fc476 100644 --- a/qt-ui/maintab.cpp +++ b/qt-ui/maintab.cpp @@ -199,6 +199,16 @@ MainTab::~MainTab() } } +void MainTab::enable() +{ + setEnabled(true); +} + +void MainTab::disable() +{ + setDisabled(true); +} + void MainTab::prepareDiveSiteEdit() { emit requestDiveSiteEdit(displayed_dive.dive_site_uuid); } |