|
|
@ -153,7 +153,7 @@ void TorrentImportDlg::on_browseContentBtn_clicked() |
|
|
|
#if LIBTORRENT_VERSION_MINOR > 15 |
|
|
|
#if LIBTORRENT_VERSION_MINOR > 15 |
|
|
|
const QString rel_path = misc::toQStringU(t->file_at(i).path); |
|
|
|
const QString rel_path = misc::toQStringU(t->file_at(i).path); |
|
|
|
#else |
|
|
|
#else |
|
|
|
const QString rel_path = misc::toQStringU(t->file_at(i)->path.string()); |
|
|
|
const QString rel_path = misc::toQStringU(t->file_at(i).path.string()); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
if(QFile(QDir::cleanPath(content_dir.absoluteFilePath(rel_path))).size() != t->file_at(i).size) { |
|
|
|
if(QFile(QDir::cleanPath(content_dir.absoluteFilePath(rel_path))).size() != t->file_at(i).size) { |
|
|
|
qDebug("%s is %lld", |
|
|
|
qDebug("%s is %lld", |
|
|
|