Commit af42148f authored by Marius Pa's avatar Marius Pa
Browse files

resourcewidget QFileDialog prefers "*" as filter

As per https://doc.qt.io/qt-6/qfiledialog.html#setNameFilters
"the filter *.* is not portable".
parent d34c03e6
Pipeline #199388 failed with stage
in 6 minutes and 32 seconds
......@@ -542,7 +542,7 @@ void ResourceWidget::slotSaveItem(const QString &originalUrl, const QString &acc
} else if (m_currentProvider->get()->type() == ProviderModel::ProviderModel::IMAGE) {
ext = i18n("Images") + QStringLiteral(" (*.png *.jpg *.jpeg *.svg") + QStringLiteral(";;");
}
ext.append(i18n("All Files") + QStringLiteral(" (*.*)"));
ext.append(i18n("All Files") + QStringLiteral(" (*)"));
}
if (path.endsWith(QLatin1Char('/'))) {
if (m_currentItem->data(nameRole).toString().isEmpty()) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment