Change dialogs to use Qt's version.

The native dialogs have different behavior when dealing with
filters. Qt's behavior is well defined.
This commit is contained in:
Ernie Pasveer
2022-01-20 09:03:39 -06:00
parent 0317ae9ec4
commit b5b292fbed
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ void SeerGdbConfigPage::setGdbAsyncMode (bool flag) {
void SeerGdbConfigPage::handleGdbProgramToolButton () {
QString program = QFileDialog::getOpenFileName(this, "Select a gdb program to use as the debugger.", gdbProgram());
QString program = QFileDialog::getOpenFileName(this, "Select a gdb program to use as the debugger.", gdbProgram(), "", nullptr, QFileDialog::DontUseNativeDialog);
if (program != "") {
setGdbProgram(program);