summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-05 13:51:18 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-05 13:51:18 (GMT)
commit83e46709c1209d3aaed257c22a18976dbe25334d (patch)
tree6251fc5037638599844d5b387bf4a7e89a372c3f
parent82eb8423c9e95f4ff1551a77da7d7161384146b6 (diff)
Fixing slot issue with observer manage.
BUGS:370061
-rw-r--r--kstars/oal/observeradd.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kstars/oal/observeradd.cpp b/kstars/oal/observeradd.cpp
index 02e9fe1..1a77534 100644
--- a/kstars/oal/observeradd.cpp
+++ b/kstars/oal/observeradd.cpp
@@ -60,11 +60,11 @@ ObserverAdd::ObserverAdd() {
ui.RemoveObserverB->setEnabled(false);
ui.tableView->setSelectionMode(QAbstractItemView::SingleSelection);
// Make connections
- connect( ui.AddObserverB, SIGNAL( clicked() ), this, SLOT( slotAddObserverB() ) );
- connect( ui.RemoveObserverB, SIGNAL( clicked() ), this, SLOT( slotRemoveObserverB() ) );
+ connect( ui.AddObserverB, SIGNAL( clicked() ), this, SLOT(slotAddObserver()));
+ connect( ui.RemoveObserverB, SIGNAL( clicked() ), this, SLOT(slotRemoveObserver()));
connect (ui.Name,SIGNAL(textChanged(QString)),this,SLOT(checkObserverInfo() ) );
connect (ui.Surname,SIGNAL(textChanged(QString)),this,SLOT(checkObserverInfo() ) );
- connect (ui.tableView->verticalHeader(),SIGNAL(sectionClicked(int)),this,SLOT(checkTableInfo()));
+ //connect (ui.tableView->verticalHeader(),SIGNAL(sectionClicked(int)),this,SLOT(checkTableInfo()));
connect (ui.tableView,SIGNAL(clicked(QModelIndex)),this,SLOT(auxSlot()) );
}
void ObserverAdd::auxSlot(){