diff options
author | Olivier Goffart <olivier.goffart@nokia.com> | 2010-12-08 12:23:23 (GMT) |
---|---|---|
committer | Olivier Goffart <olivier.goffart@nokia.com> | 2010-12-14 10:17:14 (GMT) |
commit | 736b8205158dd7b98af862a029b273dff6fb716d (patch) | |
tree | bf27f276537a35cfd372b66eff4e1b336daa721f /tests | |
parent | 72c5658a54bf23f5572f169e604838143db6a352 (diff) | |
download | Qt-736b8205158dd7b98af862a029b273dff6fb716d.zip Qt-736b8205158dd7b98af862a029b273dff6fb716d.tar.gz Qt-736b8205158dd7b98af862a029b273dff6fb716d.tar.bz2 |
QApplication: fix crash exit whith native windows
Regression introduced in 8dd8db250d92521fda619bdcf3e1c859b37b2da0
Patch comes from the task
Task-number: QTBUG-15774
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qapplication/modal/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qapplication/modal/main.cpp b/tests/auto/qapplication/modal/main.cpp index f9d8fb4..3eaaa0d 100644 --- a/tests/auto/qapplication/modal/main.cpp +++ b/tests/auto/qapplication/modal/main.cpp @@ -47,6 +47,7 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); + QApplication::setAttribute(Qt::AA_NativeWindows); //QTBUG-15774 base *b = new base(); return app.exec(); } |