summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-12-19 18:55:29 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-12-19 18:55:36 (GMT)
commit7faa6da4a71220755b8230ca505d2a04bdb6d668 (patch)
tree35598a80d7b7062396c795e0aeb7f0d2e740521b /Swift/QtUI/QtLoginWindow.cpp
parent775515df35bad313745efc26493399b63f43728c (diff)
downloadswift-7faa6da4a71220755b8230ca505d2a04bdb6d668.zip
swift-7faa6da4a71220755b8230ca505d2a04bdb6d668.tar.bz2
Make loginwindow hiding a little more consistent with other code
Diffstat (limited to 'Swift/QtUI/QtLoginWindow.cpp')
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp4
1 files changed, 4 insertions, 0 deletions
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();
}