Merge pull request #450 from PhenomRetroShare/Fix_QFileDialogDontUseNativeDialog

Fix other QFileDialog call in misc adding DontUseNativeDialog option.
This commit is contained in:
Cyril Soler 2016-07-31 17:21:12 +02:00 committed by GitHub
commit 6e25a30716

View File

@ -352,7 +352,7 @@ bool misc::getSaveFileName(QWidget *parent, RshareSettings::enumLastDir type
{
QString lastDir = Settings->getLastDir(type);
file = QFileDialog::getSaveFileName(parent, caption, lastDir, filter, selectedFilter, options);
file = QFileDialog::getSaveFileName(parent, caption, lastDir, filter, selectedFilter, QFileDialog::DontUseNativeDialog | options);
if (file.isEmpty())
return false;