From a8caa2699330277b7b4aa69bfb4d3d2a08e71488 Mon Sep 17 00:00:00 2001
From: Tobias Markmann <tm@ayena.de>
Date: Thu, 26 May 2016 12:18:20 +0200
Subject: =?UTF-8?q?Bring=20existing=20dialog=20to=20front=20on=20open=20of?=
 =?UTF-8?q?=20"Start=20Chat=E2=80=A6"=20dialog?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Test-Information:

Tested on OS X 10.11.5 with Qt 5.4.2.

Change-Id: Ic751fec01cfe6417bb5db17364f5eb69a2037895

diff --git a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
index b9c0cb1..ebf05b7 100644
--- a/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
+++ b/Swift/QtUI/UserSearch/QtUserSearchWindow.cpp
@@ -314,6 +314,7 @@ void QtUserSearchWindow::show() {
         setWarning(boost::optional<std::string>());
     }
     QWidget::show();
+    raise();
 }
 
 void QtUserSearchWindow::addSavedServices(const std::vector<JID>& services) {
-- 
cgit v0.10.2-6-g49f6