Browse Source

Fix compilation error

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
f843a4b13a
  1. 2
      src/torrentimportdlg.cpp
  2. 4
      version.pri

2
src/torrentimportdlg.cpp

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

4
version.pri

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

Loading…
Cancel
Save