diff options
| author | Kai Koehne <kai.koehne@nokia.com> | 2010-12-10 09:43:57 (GMT) |
|---|---|---|
| committer | Kai Koehne <kai.koehne@nokia.com> | 2010-12-10 10:00:08 (GMT) |
| commit | 38856b7ca5ec18b0292dd3dd11d8ea42fea361e6 (patch) | |
| tree | c969c6fc4940facbed66a4b481f3926736769ec2 /doc/src/snippets/code/src_opengl_qgl.cpp | |
| parent | 1de4983c86a73913bd2d719ad765726530009979 (diff) | |
| download | Qt-38856b7ca5ec18b0292dd3dd11d8ea42fea361e6.zip Qt-38856b7ca5ec18b0292dd3dd11d8ea42fea361e6.tar.gz Qt-38856b7ca5ec18b0292dd3dd11d8ea42fea361e6.tar.bz2 | |
QmlViewer: Fix crash on exit
We can't use atexit() handler to show a warning, since whether the
QApplication object then still exists or not is undefined.
Instead, call the method directly where it makes sense (warnings about
command line arguments etc).
Task-number: QTBUG-15740
Reviewed-by: Thomas Hartmann
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qgl.cpp')
0 files changed, 0 insertions, 0 deletions
