1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

[Bookmarks] HtmlImporter: Fixed filter for html files

See #1228
This commit is contained in:
nowrep 2014-03-04 14:16:58 +01:00
parent 29f20ae520
commit 688455158c

View File

@ -40,7 +40,8 @@ QString HtmlImporter::standardPath() const
QString HtmlImporter::getPath(QWidget* parent)
{
m_path = QFileDialog::getOpenFileName(parent, BookmarksImporter::tr("Choose file..."), QDir::homePath(), "Html (*.htm, *.html)");
const QString filter = BookmarksImporter::tr("Html Bookmarks") + QLatin1String(" (*.htm *.html)");
m_path = QFileDialog::getOpenFileName(parent, BookmarksImporter::tr("Choose file..."), QDir::homePath(), filter);
return m_path;
}