Added changeEvent calls where appropriate

Need to call into the superclass in order not to lose functionality. Was
missing in the wizard, hence the many missing occurrences.

Reviewed-by: Friedemann Kleint
This commit is contained in:
Thorbjørn Lindeijer
2009-03-17 14:34:27 +01:00
parent 70d5649428
commit 4e16705a27
9 changed files with 55 additions and 43 deletions

View File

@@ -986,6 +986,7 @@ void MainWindow::removeContextObject(IContext *context)
void MainWindow::changeEvent(QEvent *e)
{
QMainWindow::changeEvent(e);
if (e->type() == QEvent::ActivationChange) {
if (isActiveWindow()) {
if (debugMainWindow)