From 7faa6da4a71220755b8230ca505d2a04bdb6d668 Mon Sep 17 00:00:00 2001
From: Kevin Smith <git@kismith.co.uk>
Date: Sun, 19 Dec 2010 18:55:29 +0000
Subject: Make loginwindow hiding a little more consistent with other code


diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index c1f4f24..cb348fc 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -383,6 +383,10 @@ void QtLoginWindow::bringToFront() {
 	}
 }
 
+void QtLoginWindow::hide() {
+	window()->hide();
+}
+
 void QtLoginWindow::resizeEvent(QResizeEvent*) {
 	emit geometryChanged();
 }
diff --git a/Swift/QtUI/QtLoginWindow.h b/Swift/QtUI/QtLoginWindow.h
index 0efd377..d535ed4 100644
--- a/Swift/QtUI/QtLoginWindow.h
+++ b/Swift/QtUI/QtLoginWindow.h
@@ -40,6 +40,7 @@ namespace Swift {
 			void setGentleGeometry(const QRect&);
 			void selectUser(const String& user);
 			bool askUserToTrustCertificatePermanently(const String& message, Certificate::ref certificate);
+			void hide();
 
 			virtual void quit();
 
-- 
cgit v0.10.2-6-g49f6