@@ -48,13 +48,6 @@ void Preferences::init(bool storeInMemoryOnly)
48
48
bool checkExtensionsUpdateStartup = false ;
49
49
#endif
50
50
51
- #if defined(Q_OS_MAC) || defined(Q_OS_WIN)
52
- // use system native file dialogs
53
- // Qt file dialog is very slow on Windows and Mac
54
- bool nativeDialogs = true ;
55
- #else
56
- bool nativeDialogs = false ; // don't use system native file dialogs
57
- #endif
58
51
bool defaultUsePortAudio = false ;
59
52
bool defaultUsePulseAudio = false ;
60
53
bool defaultUseJackAudio = false ;
@@ -174,7 +167,7 @@ void Preferences::init(bool storeInMemoryOnly)
174
167
{PREF_UI_APP_RASTER_HORIZONTAL, new IntPreference (2 )},
175
168
{PREF_UI_APP_RASTER_VERTICAL, new IntPreference (2 )},
176
169
{PREF_UI_APP_SHOWSTATUSBAR, new BoolPreference (true )},
177
- {PREF_UI_APP_USENATIVEDIALOGS, new BoolPreference (nativeDialogs )},
170
+ {PREF_UI_APP_USENATIVEDIALOGS, new BoolPreference (true )},
178
171
{PREF_UI_PIANO_HIGHLIGHTCOLOR, new ColorPreference (QColor (" #1259d0" ))},
179
172
{PREF_UI_SCORE_NOTE_DROPCOLOR, new ColorPreference (QColor (" #1778db" ))},
180
173
{PREF_UI_SCORE_DEFAULTCOLOR, new ColorPreference (QColor (" #000000" ))},
0 commit comments