summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_kernel_qapplication_x11.cpp
diff options
context:
space:
mode:
authorNorwegian Rock Cat <qt-info@nokia.com>2009-04-20 07:49:55 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-04-20 08:35:17 (GMT)
commit8179c72a4ae999bd9a2aaf59fdf568acc9662c2d (patch)
tree9e43d31283bc610610f982ad81051428def5f91c /doc/src/snippets/code/src_gui_kernel_qapplication_x11.cpp
parent87257b41b6fb4313c713648b05a07d7835d13d24 (diff)
downloadQt-8179c72a4ae999bd9a2aaf59fdf568acc9662c2d.zip
Qt-8179c72a4ae999bd9a2aaf59fdf568acc9662c2d.tar.gz
Qt-8179c72a4ae999bd9a2aaf59fdf568acc9662c2d.tar.bz2
BT: Fix a crash when using Q(File)Dialog::open() in QCocoa.
If we don't have a sheet, we need to recreate it in Cocoa. Unfortunately, we neglected to reassign the NSWindow pointer in that case, so the program would crash. Reviewed-by: Richard Moe Gustavsen (cherry picked from commit 9d9889682c79bacb803ef5613502e7307c1d16bd)
Diffstat (limited to 'doc/src/snippets/code/src_gui_kernel_qapplication_x11.cpp')
0 files changed, 0 insertions, 0 deletions