diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-05-25 09:18:56 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-05-25 09:18:56 (GMT) |
commit | 6fca46bde36a4edf59cae5c7e334a6dc34776343 (patch) | |
tree | 39d32e6d0b31162eff4cf4642da67b871acaedbc | |
parent | 4f387ef2ff44266fbeab9b5bae7e7c704e926d01 (diff) | |
download | swift-6fca46bde36a4edf59cae5c7e334a6dc34776343.zip swift-6fca46bde36a4edf59cae5c7e334a6dc34776343.tar.bz2 |
Status dismissing solution for both Mac and Windows
-rw-r--r-- | Swift/QtUI/QtStatusWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Swift/QtUI/QtStatusWidget.cpp b/Swift/QtUI/QtStatusWidget.cpp index da5d0e0..e5a4eff 100644 --- a/Swift/QtUI/QtStatusWidget.cpp +++ b/Swift/QtUI/QtStatusWidget.cpp @@ -87,7 +87,8 @@ QtStatusWidget::~QtStatusWidget() { delete menu_; } -void QtStatusWidget::handleApplicationFocusChanged(QWidget* /*old*/, QWidget* now) { +void QtStatusWidget::handleApplicationFocusChanged(QWidget* /*old*/, QWidget* /*now*/) { + QWidget* now = qApp->focusWidget(); if (!editing_ || stack_->currentIndex() == 0) { return; } |