Don't translate file extensions. Closes #1907.

This commit is contained in:
sledgehammer999
2014-08-30 21:54:57 +03:00
parent 94fc2f9c3d
commit 45e95e6cc2
3 changed files with 4 additions and 4 deletions

View File

@@ -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 {