Fix other QFileDialog call in misc adding DontUseNativeDialog option.

This commit is contained in:
Phenom 2016-07-31 16:23:41 +02:00
parent 64b56092d3
commit 6935441e4f

View File

@ -352,7 +352,7 @@ bool misc::getSaveFileName(QWidget *parent, RshareSettings::enumLastDir type
{ {
QString lastDir = Settings->getLastDir(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()) if (file.isEmpty())
return false; return false;