summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-31 20:15:56 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-31 20:15:56 (GMT)
commitcf798b8213dc0800b312b73e715bf234510a2797 (patch)
treedc6e9e1e30b0aa0c00f67baa0d8113706790c934 /Swift/QtUI/MUCSearch
parentdca6ba0317a55e88a5a5b41b1ccb4563d74c6dd5 (diff)
downloadswift-contrib-cf798b8213dc0800b312b73e715bf234510a2797.zip
swift-contrib-cf798b8213dc0800b312b73e715bf234510a2797.tar.bz2
Enter to add new service in MUC Search.
Resolves: #374
Diffstat (limited to 'Swift/QtUI/MUCSearch')
-rw-r--r--Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
index 78e4fa5..a8bf9ee 100644
--- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
+++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
@@ -30,6 +30,7 @@ QtMUCSearchWindow::QtMUCSearchWindow(UIEventStream* eventStream) {
#ifdef SWIFT_PLATFORM_MACOSX
results_->setAlternatingRowColors(true);
#endif
+ connect(service_, SIGNAL(returnPressed()), this, SLOT(handleSearch()));
connect(searchButton_, SIGNAL(clicked()), this, SLOT(handleSearch()));
connect(joinButton_, SIGNAL(clicked()), this, SLOT(handleJoin()));
connect(results_, SIGNAL(clicked(const QModelIndex&)), this, SLOT(handleSelected(const QModelIndex&)));