diff --git a/src/preferences/options_imp.cpp b/src/preferences/options_imp.cpp index c084ffb57..94928ff5c 100755 --- a/src/preferences/options_imp.cpp +++ b/src/preferences/options_imp.cpp @@ -1202,7 +1202,7 @@ void options_imp::showConnectionTab() } void options_imp::on_btnWebUiCrt_clicked() { - QString filename = QFileDialog::getOpenFileName(this, QString(), QString(), tr("SSL Certificate (*.crt *.pem)")); + QString filename = QFileDialog::getOpenFileName(this, QString(), QString(), tr("SSL Certificate")+QString(" (*.crt *.pem)")); if (filename.isNull()) return; QFile file(filename); @@ -1213,7 +1213,7 @@ void options_imp::on_btnWebUiCrt_clicked() { } void options_imp::on_btnWebUiKey_clicked() { - QString filename = QFileDialog::getOpenFileName(this, QString(), QString(), tr("SSL Key (*.key *.pem)")); + QString filename = QFileDialog::getOpenFileName(this, QString(), QString(), tr("SSL Key")+QString(" (*.key *.pem)")); if (filename.isNull()) return; QFile file(filename); diff --git a/src/rss/automatedrssdownloader.cpp b/src/rss/automatedrssdownloader.cpp index 6d61d320b..deac84381 100644 --- a/src/rss/automatedrssdownloader.cpp +++ b/src/rss/automatedrssdownloader.cpp @@ -384,7 +384,7 @@ void AutomatedRssDownloader::on_exportBtn_clicked() void AutomatedRssDownloader::on_importBtn_clicked() { // Ask for filter path - QString load_path = QFileDialog::getOpenFileName(this, tr("Please point to the RSS download rules file"), QDir::homePath(), tr("Rules list (*.rssrules *.filters)")); + QString load_path = QFileDialog::getOpenFileName(this, tr("Please point to the RSS download rules file"), QDir::homePath(), tr("Rules list")+QString(" (*.rssrules *.filters)")); if (load_path.isEmpty() || !QFile::exists(load_path)) return; // Load it if (!m_editableRuleList->unserialize(load_path)) { diff --git a/src/torrentimportdlg.cpp b/src/torrentimportdlg.cpp index 56d4f9bac..540f74d99 100644 --- a/src/torrentimportdlg.cpp +++ b/src/torrentimportdlg.cpp @@ -64,7 +64,7 @@ void TorrentImportDlg::on_browseTorrentBtn_clicked() { const QString default_dir = Preferences::instance()->getMainLastDir(); // Ask for a torrent file - m_torrentPath = QFileDialog::getOpenFileName(this, tr("Torrent file to import"), default_dir, tr("Torrent files (*.torrent)")); + m_torrentPath = QFileDialog::getOpenFileName(this, tr("Torrent file to import"), default_dir, tr("Torrent files")+QString(" (*.torrent)")); if (!m_torrentPath.isEmpty()) { loadTorrent(m_torrentPath); } else {