From f843a4b13a07754033bac9a09f77d2c4b303a6f2 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 17 Apr 2011 15:50:51 +0000 Subject: [PATCH] Fix compilation error --- src/torrentimportdlg.cpp | 2 +- version.pri | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/torrentimportdlg.cpp b/src/torrentimportdlg.cpp index f6b7a02f4..10b36d7c1 100644 --- a/src/torrentimportdlg.cpp +++ b/src/torrentimportdlg.cpp @@ -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", diff --git a/version.pri b/version.pri index 40e1c0a14..0796c39b3 100644 --- a/version.pri +++ b/version.pri @@ -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