On some linux distros, the native "save" dialog can't distinguish the Ostinato and PCAP filters - so we don't use native dialog for *nix platforms
This commit is contained in:
parent
d05821da66
commit
1adf52033c
@ -521,8 +521,9 @@ void PortsWindow::on_actionSave_Streams_triggered()
|
||||
QFileDialog::Options options;
|
||||
|
||||
// On Mac OS with Native Dialog, getSaveFileName() ignores fileType
|
||||
// which we need.
|
||||
#ifdef Q_OS_MAC
|
||||
// which we need.On some Linux distros the native dialog can't
|
||||
// distinguish between Ostinato(*) and PCAP(*)
|
||||
#if defined(Q_OS_MAC) || defined(Q_OS_UNIX)
|
||||
options |= QFileDialog::DontUseNativeDialog;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user