1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

Fix compilation error

This commit is contained in:
Christophe Dumez 2011-04-17 15:50:51 +00:00
parent 719c30c70b
commit f843a4b13a
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -1,7 +1,7 @@
os2 { os2 {
DEFINES += VERSION=\'\"v2.8.0beta3\"\' DEFINES += VERSION=\'\"v2.8.0beta4\"\'
} else { } else {
DEFINES += VERSION=\\\"v2.8.0beta3\\\" DEFINES += VERSION=\\\"v2.8.0beta4\\\"
} }
DEFINES += VERSION_MAJOR=2 DEFINES += VERSION_MAJOR=2
DEFINES += VERSION_MINOR=8 DEFINES += VERSION_MINOR=8