Remove out-of-date TODOs.
This commit is contained in:
parent
daa707ebf7
commit
5f4faba583
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user