# HG changeset patch # User Sebastian Brannstrom # Date 1282579652 -3600 # Node ID 1ced6e446fd45f95577bd5ded54af9dbf2406d72 # Parent 2886a23e4d5d676b47699dae68984fa8eea9a052 Major contribution: Connected clicked signal from listbox to displayDetails slot diff -r 2886a23e4d5d -r 1ced6e446fd4 contactengine/mainwindow.cpp --- a/contactengine/mainwindow.cpp Thu Aug 19 19:21:12 2010 -0700 +++ b/contactengine/mainwindow.cpp Mon Aug 23 17:07:32 2010 +0100 @@ -31,7 +31,7 @@ this->details = new DetailsGV(this,ui->graphicsView); connect(this->details,SIGNAL(closeMe()),this,SLOT(close())); connect(this->details,SIGNAL(backToList()),this, SLOT(displayList())); - + connect(ui->listView, SIGNAL(clicked(QModelIndex)),this, SLOT(displayDetails())); ui->stackedWidget->setCurrentIndex(MainWindow::EListPage); }