From cf798b8213dc0800b312b73e715bf234510a2797 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Mon, 31 May 2010 21:15:56 +0100
Subject: Enter to add new service in MUC Search.

Resolves: #374

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&)));
-- 
cgit v0.10.2-6-g49f6