Commit cf7653d3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Disable use of native file open dialog, to show our modified qt file open dialog.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6174 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 9db7168a
...@@ -50,6 +50,7 @@ LoadWidget::LoadWidget(std::vector<fileTypes>& _supportedTypes , QWidget *parent ...@@ -50,6 +50,7 @@ LoadWidget::LoadWidget(std::vector<fileTypes>& _supportedTypes , QWidget *parent
loadMode_(true), loadMode_(true),
supportedTypes_(_supportedTypes) supportedTypes_(_supportedTypes)
{ {
setOption (QFileDialog::DontUseNativeDialog, true);
// Get our layout // Get our layout
QGridLayout *gridLayout = (QGridLayout*)layout(); QGridLayout *gridLayout = (QGridLayout*)layout();
......
Supports Markdown
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