diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-06-03 14:01:49 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-06-03 14:02:13 +0200 |
commit | 5f4faba583ce674131df163187bd3be03cf411f8 (patch) | |
tree | a097b5299ce3bf3663b1a56467ff0b9186f573e4 /src | |
parent | daa707ebf7f311760efead3990922cba06685e4c (diff) |
Remove out-of-date TODOs.
Diffstat (limited to 'src')
-rw-r--r-- | src/widgets/kernel/qwidget_qpa.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/widgets/kernel/qwidget_qpa.cpp b/src/widgets/kernel/qwidget_qpa.cpp index 8764f633f1..4bfd6f19a7 100644 --- a/src/widgets/kernel/qwidget_qpa.cpp +++ b/src/widgets/kernel/qwidget_qpa.cpp @@ -153,7 +153,6 @@ void QWidget::destroy(bool destroyWindow, bool destroySubWindows) if ((windowType() == Qt::Popup)) qApp->d_func()->closePopup(this); - //### we don't have proper focus event handling yet if (this == QApplicationPrivate::active_window) QApplication::setActiveWindow(0); @@ -472,12 +471,7 @@ void QWidgetPrivate::hide_sys() } if (QWindow *window = q->windowHandle()) { window->setVisible(false); - } - - //### we don't yet have proper focus event handling - if (q == QApplicationPrivate::active_window) - QApplication::setActiveWindow(0); - + } } void QWidgetPrivate::setMaxWindowState_helper() |