mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 08:29:26 -05:00
added DontUseNativeDialog as default flag in file dialog in order to avoid some crashed when not using it
This commit is contained in:
parent
431dd68509
commit
1707c07937
@ -303,7 +303,7 @@ bool misc::getOpenFileName(QWidget *parent, RshareSettings::enumLastDir type
|
||||
{
|
||||
QString lastDir = Settings->getLastDir(type);
|
||||
|
||||
file = QFileDialog::getOpenFileName(parent, caption, lastDir, filter, NULL, QFileDialog::DontResolveSymlinks | options);
|
||||
file = QFileDialog::getOpenFileName(parent, caption, lastDir, filter, NULL, QFileDialog::DontResolveSymlinks | QFileDialog::DontUseNativeDialog | options);
|
||||
|
||||
if (file.isEmpty())
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user