diff options
author | Remko Tronçon <git@el-tramo.be> | 2011-01-21 22:23:57 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2011-01-21 22:23:57 (GMT) |
commit | ed97a906d08d7613ae8a0e4c3c5cf1362f7dadd4 (patch) | |
tree | f262988bd42562811a744456e58e84e79c0b33f1 /Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp | |
parent | 0f6c1f851c3a232b25b2b21388f335d0d8dbe815 (diff) | |
download | swift-contrib-ed97a906d08d7613ae8a0e4c3c5cf1362f7dadd4.zip swift-contrib-ed97a906d08d7613ae8a0e4c3c5cf1362f7dadd4.tar.bz2 |
Add a search button in MUC search dialog.
Resolves: #750
Diffstat (limited to 'Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp')
-rw-r--r-- | Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp index 52fbf8c..f150174 100644 --- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp +++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp @@ -37,6 +37,7 @@ QtMUCSearchWindow::QtMUCSearchWindow() { ui_.results_->setRootIsDecorated(true); ui_.results_->setAnimated(true); ui_.results_->setAlternatingRowColors(true); + connect(ui_.searchButton, SIGNAL(clicked()), this, SLOT(handleSearch())); connect(ui_.service_, SIGNAL(activated(const QString&)), this, SLOT(handleSearch(const QString&))); connect(ui_.results_->selectionModel(), SIGNAL(selectionChanged (const QItemSelection&, const QItemSelection&)), this, SLOT(handleSelectionChanged (const QItemSelection&, const QItemSelection&))); connect(ui_.results_, SIGNAL(activated(const QModelIndex&)), this, SLOT(handleActivated(const QModelIndex&))); |