summaryrefslogtreecommitdiffstats
path: root/src/gui/mac
diff options
context:
space:
mode:
authorPasi Matilainen <pasi.matilainen@digia.com>2012-02-13 07:50:31 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-03-04 07:41:02 (GMT)
commit37212b8c063b456b036f87841e596ee7d857052f (patch)
tree26270f2b6c612d437315ec4beb6a815e76cb4672 /src/gui/mac
parentedc6fae534835a2c72edffb52255fe522a37928f (diff)
downloadQt-37212b8c063b456b036f87841e596ee7d857052f.zip
Qt-37212b8c063b456b036f87841e596ee7d857052f.tar.gz
Qt-37212b8c063b456b036f87841e596ee7d857052f.tar.bz2
Fix crash when opening a file dialog in sandbox on Mac
The sandboxed version of the native file dialog does not implement NSWindow methods, and does not respond to validateVisibleColumns. Calling these methods on a sandboxed file dialog results in a crash, so check support for the methods using respondsToSelector before calling. Task-number: QTBUG-21609 Change-Id: I7de7d8b24dab886a261ae02c395a4a22f0f489c0 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'src/gui/mac')
0 files changed, 0 insertions, 0 deletions