summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-05-25 09:18:56 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-05-25 09:18:56 (GMT)
commit6fca46bde36a4edf59cae5c7e334a6dc34776343 (patch)
tree39d32e6d0b31162eff4cf4642da67b871acaedbc /Swift/QtUI
parent4f387ef2ff44266fbeab9b5bae7e7c704e926d01 (diff)
downloadswift-contrib-6fca46bde36a4edf59cae5c7e334a6dc34776343.zip
swift-contrib-6fca46bde36a4edf59cae5c7e334a6dc34776343.tar.bz2
Status dismissing solution for both Mac and Windows
Diffstat (limited to 'Swift/QtUI')
-rw-r--r--Swift/QtUI/QtStatusWidget.cpp3
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;
}