Commit b4270e3d authored by Jan Möbius's avatar Jan Möbius

Don't use native file open/save dialogs for settings file selection.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6175 383ad7c9-94d9-4d36-a494-682f7c89f535
parent cf7653d3
......@@ -425,6 +425,7 @@ void Core::loadSettings(){
OpenFlipper::Options::currentDirStr(),
tr("INI files (*.ini);;OBJ files (*.obj )") );
fileDialog.setOption (QFileDialog::DontUseNativeDialog, true);
fileDialog.setAcceptMode ( QFileDialog::AcceptOpen );
fileDialog.setFileMode ( QFileDialog::AnyFile );
......
......@@ -56,6 +56,7 @@ void Core::saveSettings(){
OpenFlipper::Options::currentDirStr(),
tr("INI files (*.ini);;OBJ files (*.obj )") );
fileDialog.setOption (QFileDialog::DontUseNativeDialog, true);
fileDialog.setAcceptMode ( QFileDialog::AcceptSave );
fileDialog.setFileMode ( QFileDialog::AnyFile );
......
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