QPA: Refactor QFileDialogPrivate::qt_clean_filter_list for QPA
authorSean Harmer <sean.harmer.qnx@kdab.com>
Wed, 23 May 2012 11:01:11 +0000 (12:01 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 May 2012 15:46:15 +0000 (17:46 +0200)
commit66e68b79c276f33f9a161c9eb04a9416b4ec9d9d
tree4c9abb47855d41a40d8a6ef1b0cc8af7e979b691
parent2d990ccba67d383bfacef5e360f9528b89e01487
QPA: Refactor QFileDialogPrivate::qt_clean_filter_list for QPA

Allows QFileDialog and QPA plugins to access this helper function.

Needed by the Cocoa and QNX plugins. This commit fixes up the
Cocoa plugin. The QNX support will be in a follow-up commit.

Change-Id: I8dd08a9f3dc27d85edd0dc9dad9629406c1e677a
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/gui/kernel/qplatformdialoghelper.h
src/gui/kernel/qplatformdialoghelper_qpa.cpp
src/plugins/platforms/cocoa/qcocoafiledialoghelper.mm
src/widgets/dialogs/qfiledialog.cpp
src/widgets/dialogs/qfiledialog_p.h