[Bookmarks] HtmlImporter: Fixed filter for html files

See #1228
remotes/origin/falkon
nowrep 12 years ago
parent 29f20ae520
commit 688455158c
  1. 3
      src/lib/bookmarks/bookmarksimport/htmlimporter.cpp

@ -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;
}

Loading…
Cancel
Save