Remove out-of-date TODOs.

This commit is contained in:
Laszlo Agocs 2011-06-03 14:01:49 +02:00
parent daa707ebf7
commit 5f4faba583

View File

@ -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);
@ -473,11 +472,6 @@ 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()