summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PySide/QtGui/glue/qapplication_init.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/PySide/QtGui/glue/qapplication_init.cpp b/PySide/QtGui/glue/qapplication_init.cpp
index 246e5d1..be90d10 100644
--- a/PySide/QtGui/glue/qapplication_init.cpp
+++ b/PySide/QtGui/glue/qapplication_init.cpp
@@ -21,9 +21,9 @@ void DeleteQApplicationAtExit()
bmngr.destroyWrapper(w);
}
- cpp->deleteLater();
- QApplication::processEvents();
+ cpp->processEvents();
bmngr.destroyWrapper(cpp);
+ delete cpp;
}
}