blackberry/Cascades-Samples — pull request #33 by jsoref (2012-11-28 00:29:52+00:00)
Title: Code fixes for Filepicker app

peter9477 reported that the sample didn't work and suggested this fix (more or less).

FilePicker.hpp shows that the viewMode property is defined as a FilePickerViewMode and not a ViewMode:
Q_PROPERTY(bb::cascades::pickers::FilePickerViewMode::Type viewMode READ viewMode WRITE setViewMode NOTIFY viewModeChanged FINAL)

Also, there's a using statement that wasn't really used... so...