mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 00:17:23 -06:00
Don't translate file extensions. Closes #1907.
This commit is contained in:
@@ -65,7 +65,7 @@ void TorrentImportDlg::on_browseTorrentBtn_clicked()
|
||||
QIniSettings settings;
|
||||
const QString default_dir = settings.value(QString::fromUtf8("MainWindowLastDir"), QDir::homePath()).toString();
|
||||
// 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 {
|
||||
|
||||
Reference in New Issue
Block a user