Commit 83e46709 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Fixing slot issue with observer manage.

BUGS:370061
parent 82eb8423
......@@ -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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment