diff --git a/sdrgui/gui/configurationsdialog.cpp b/sdrgui/gui/configurationsdialog.cpp index edbc21068..6920bfe7e 100644 --- a/sdrgui/gui/configurationsdialog.cpp +++ b/sdrgui/gui/configurationsdialog.cpp @@ -375,11 +375,14 @@ void ConfigurationsDialog::on_configurationExport_clicked() if (fileName != "") { +#ifndef ANDROID + // Can't change filenames on Android QFileInfo fileInfo(fileName); if (fileInfo.suffix() != "cfgx") { fileName += ".cfgx"; } +#endif QFile exportFile(fileName); diff --git a/sdrgui/gui/devicesetpresetsdialog.cpp b/sdrgui/gui/devicesetpresetsdialog.cpp index 1b7ff8b9c..7c9490373 100644 --- a/sdrgui/gui/devicesetpresetsdialog.cpp +++ b/sdrgui/gui/devicesetpresetsdialog.cpp @@ -297,11 +297,14 @@ void DeviceSetPresetsDialog::on_presetExport_clicked() if (fileName != "") { +#ifndef ANDROID + // Can't change filenames on Android QFileInfo fileInfo(fileName); if (fileInfo.suffix() != "prex") { fileName += ".prex"; } +#endif QFile exportFile(fileName);