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;
|
QFileDialog::Options options;
|
||||||
|
|
||||||
// On Mac OS with Native Dialog, getSaveFileName() ignores fileType
|
// On Mac OS with Native Dialog, getSaveFileName() ignores fileType
|
||||||
// which we need.
|
// which we need.On some Linux distros the native dialog can't
|
||||||
#ifdef Q_OS_MAC
|
// distinguish between Ostinato(*) and PCAP(*)
|
||||||
|
#if defined(Q_OS_MAC) || defined(Q_OS_UNIX)
|
||||||
options |= QFileDialog::DontUseNativeDialog;
|
options |= QFileDialog::DontUseNativeDialog;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user