mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-08-26 13:42:37 +00:00
Fix "Skip hash check" feature in torrent import dialog (closes #128)
This commit is contained in:
parent
c7f1f52f1c
commit
51aae059e3
@ -143,6 +143,7 @@ void TorrentImportDlg::on_browseContentBtn_clicked()
|
|||||||
#endif
|
#endif
|
||||||
bool size_mismatch = false;
|
bool size_mismatch = false;
|
||||||
QDir content_dir(m_contentPath);
|
QDir content_dir(m_contentPath);
|
||||||
|
content_dir.cdUp();
|
||||||
// Check file sizes
|
// Check file sizes
|
||||||
for (int i=0; i<t->num_files(); ++i) {
|
for (int i=0; i<t->num_files(); ++i) {
|
||||||
#if LIBTORRENT_VERSION_MINOR > 15
|
#if LIBTORRENT_VERSION_MINOR > 15
|
||||||
|
Loading…
x
Reference in New Issue
Block a user