From 51aae059e3bcfc87b6b30900982c456577ebe3b7 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sat, 29 Sep 2012 13:59:46 +0300 Subject: [PATCH] Fix "Skip hash check" feature in torrent import dialog (closes #128) --- src/torrentimportdlg.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/torrentimportdlg.cpp b/src/torrentimportdlg.cpp index 3bfe20eae..087eba593 100644 --- a/src/torrentimportdlg.cpp +++ b/src/torrentimportdlg.cpp @@ -143,6 +143,7 @@ void TorrentImportDlg::on_browseContentBtn_clicked() #endif bool size_mismatch = false; QDir content_dir(m_contentPath); + content_dir.cdUp(); // Check file sizes for (int i=0; inum_files(); ++i) { #if LIBTORRENT_VERSION_MINOR > 15