CopperSpice Overview  1.5.2

A new flag has been added to the QFileDialog::Options in CopperSpice. This flag will force Windows 7 and Windows 8 to use the path passed in dir, the third parameter. Sample code is shown below.

QString selectedFilter;
QFileDialog::Options options;
// force windows 7 and 8 to honor initial path
options = QFileDialog::ForceInitialDir_Win7;
QString fileName = QFileDialog::getSaveFileName(this, tr("Save File")), "c:/myApp/config.json",
tr("Json Files (*.json)"), &selectedFilter, options);

Full documentation for this class can be found in the CopperSpice API