From 5872f31816ca34c341fff1a90845cc7aeb65293e Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Fri, 1 Oct 2010 10:43:50 +0100
Subject: Expand search results when adding a new service to find MUC dialog.

Resolves: #574

diff --git a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
index c5a1478..0ccd558 100644
--- a/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
+++ b/Swift/QtUI/MUCSearch/QtMUCSearchWindow.cpp
@@ -137,6 +137,7 @@ void QtMUCSearchWindow::addService(const MUCService& service) {
 		new MUCSearchRoomItem(P2QSTRING(room.getNode()), serviceItem);
 	}
 	model_->addService(serviceItem);
+	results_->expandAll();
 }
 
 }
-- 
cgit v0.10.2-6-g49f6