Commit 98bf2379 authored by dogmaphobic's avatar dogmaphobic

Remove erroneous use of QFileDialog::selectNameFilter(). No filters are to be...

Remove erroneous use of QFileDialog::selectNameFilter(). No filters are to be selected. The argument selectedFilter is a pointer to a String to receive the filter selected/used by the user.
parent c245ce3e
......@@ -101,9 +101,6 @@ QString QGCFileDialog::getSaveFileName(QWidget* parent,
{
QFileDialog dlg(parent, caption, dir, filter);
dlg.setAcceptMode(QFileDialog::AcceptSave);
if (selectedFilter) {
dlg.selectNameFilter(*selectedFilter);
}
if (options) {
dlg.setOptions(options);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment