From 54f1294ef5017ec1d907c9bb289cac59eb110ccc Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 17 Jun 2010 11:08:44 +0000 Subject: [PATCH] Fix possible compilation issue with Qt 4.7git --- src/bittorrent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bittorrent.h b/src/bittorrent.h index ab9f91146..d453a927c 100644 --- a/src/bittorrent.h +++ b/src/bittorrent.h @@ -118,6 +118,9 @@ public: bool useTemporaryFolder() const; QString getDefaultSavePath() const; ScanFoldersModel* getScanFoldersModel() const; +#if LIBTORRENT_VERSION_MINOR < 15 + void saveDHTEntry(); +#endif public slots: QTorrentHandle addTorrent(QString path, bool fromScanDir = false, QString from_url = QString(), bool resumed = false); @@ -136,9 +139,6 @@ public slots: void resumeTorrent(QString hash); void resumeAllTorrents(); /* End Web UI */ -#if LIBTORRENT_VERSION_MINOR < 15 - void saveDHTEntry(); -#endif void preAllocateAllFiles(bool b); void saveFastResumeData(); void enableIPFilter(QString filter);