Cocoa: fix regressions in cocoa filedialog helper
authorTeemu Katajisto <teemu.katajisto@digia.com>
Wed, 3 Oct 2012 10:17:12 +0000 (13:17 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 4 Oct 2012 11:31:55 +0000 (13:31 +0200)
commit924aeb278730f3435400da21f52686dd2f93b0c6
treef1b54da6a40c5ec96dc38bed72a92961ef8d6f57
parent92c756677f264d76a385f3f21b6b96acd1ba599f
Cocoa: fix regressions in cocoa filedialog helper

mOpenPanel is set to 0 if save file dialog is used so call
mSavePanel instead.

Fixes regression introduced in
2e902799df6298ad4c75b4c565a0baf9cb7f7ab8

Change-Id: Idb93e44437731cad3c985d51b57b793a3ff2f292
Reviewed-by: Pasi Matilainen <pasi.matilainen@digia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm