summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-09-15 10:46:36 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-09-15 10:47:46 (GMT)
commite94541a7156f4ccceaf1a3f7135b9c89c067883b (patch)
treee88182c3b219b409093e73a6280868ff19832657
parenta8a3cc2ba4392f7b4f6c31dc60109cdd174e8827 (diff)
downloadswift-contrib-e94541a7156f4ccceaf1a3f7135b9c89c067883b.zip
swift-contrib-e94541a7156f4ccceaf1a3f7135b9c89c067883b.tar.bz2
Hopeful workaround for 4.8 Mountain Lion problem
Otherwise it's not possible to set a status message (Tobias's suggestion) Resolves: #1154
-rw-r--r--Swift/QtUI/QtLoginWindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtLoginWindow.cpp b/Swift/QtUI/QtLoginWindow.cpp
index 5caeb1f..c8b40a4 100644
--- a/Swift/QtUI/QtLoginWindow.cpp
+++ b/Swift/QtUI/QtLoginWindow.cpp
@@ -476,6 +476,7 @@ void QtLoginWindow::morphInto(MainWindow *mainWindow) {
foreach (QMenu* menu, qtMainWindow->getMenus()) {
menuBar_->addMenu(menu);
}
+ setFocus();
}
void QtLoginWindow::setMessage(const std::string& message) {