accept XML as valid OPML file name suffix
This commit is contained in:
parent
1a1cb0d8ff
commit
a4e7b97c18
@ -168,7 +168,7 @@ void FormStandardImportExport::selectExportFile(bool without_dialog) {
|
|||||||
QSL("rssguard_feeds_%1.opml").arg(QDate::currentDate().toString(Qt::DateFormat::ISODate));
|
QSL("rssguard_feeds_%1.opml").arg(QDate::currentDate().toString(Qt::DateFormat::ISODate));
|
||||||
QString selected_file;
|
QString selected_file;
|
||||||
QString selected_filter;
|
QString selected_filter;
|
||||||
const QString filter_opml20 = tr("OPML 2.0 files (*.opml)");
|
const QString filter_opml20 = tr("OPML 2.0 files (*.opml *.xml)");
|
||||||
const QString filter_txt_url_per_line = tr("TXT files [one URL per line] (*.txt)");
|
const QString filter_txt_url_per_line = tr("TXT files [one URL per line] (*.txt)");
|
||||||
|
|
||||||
if (!without_dialog) {
|
if (!without_dialog) {
|
||||||
@ -213,7 +213,7 @@ void FormStandardImportExport::selectExportFile(bool without_dialog) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void FormStandardImportExport::selectImportFile() {
|
void FormStandardImportExport::selectImportFile() {
|
||||||
const QString filter_opml20 = tr("OPML 2.0 files (*.opml)");
|
const QString filter_opml20 = tr("OPML 2.0 files (*.opml *.xml)");
|
||||||
const QString filter_txt_url_per_line = tr("TXT files [one URL per line] (*.txt)");
|
const QString filter_txt_url_per_line = tr("TXT files [one URL per line] (*.txt)");
|
||||||
QString filter;
|
QString filter;
|
||||||
QString selected_filter;
|
QString selected_filter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user