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/mainwindow.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/mainwindow.cpp')
-rw-r--r-- | qt-ui/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp index 97c68af8e..02eb78ede 100644 --- a/qt-ui/mainwindow.cpp +++ b/qt-ui/mainwindow.cpp @@ -202,8 +202,8 @@ MainWindow::MainWindow() : QMainWindow(), ui.menu_Edit->addActions(undoRedoActions); ReverseGeoLoockupThread *geoLoockup = ReverseGeoLoockupThread::instance(); - connect(geoLoockup, SIGNAL(start()),information(), SLOT(setDisabled())); - connect(geoLoockup, SIGNAL(finished()), information(), SLOT(setEnabled())); + connect(geoLoockup, SIGNAL(started()),information(), SLOT(disable())); + connect(geoLoockup, SIGNAL(finished()), information(), SLOT(enable())); } MainWindow::~MainWindow() |