From 1707c0793708fc84c34c008cbfffe6bbe6ced7f8 Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 29 Jul 2016 21:58:31 +0200 Subject: [PATCH] added DontUseNativeDialog as default flag in file dialog in order to avoid some crashed when not using it --- retroshare-gui/src/util/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/util/misc.cpp b/retroshare-gui/src/util/misc.cpp index 246247d1a..f7566386c 100644 --- a/retroshare-gui/src/util/misc.cpp +++ b/retroshare-gui/src/util/misc.cpp @@ -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;