From df04427c6a2bc740819368c8fb0e828bd9bbb65f Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 15 Nov 2010 17:15:50 +0000 Subject: [PATCH] Fix compilation error (closes #675444) --- src/qtlibtorrent/qbtsession.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/qtlibtorrent/qbtsession.h b/src/qtlibtorrent/qbtsession.h index 4c49c1789..91553255d 100644 --- a/src/qtlibtorrent/qbtsession.h +++ b/src/qtlibtorrent/qbtsession.h @@ -185,9 +185,6 @@ protected slots: void cleanUpAutoRunProcess(int); void mergeTorrents(QTorrentHandle h_ex, boost::intrusive_ptr t); void exportTorrentFile(QTorrentHandle h); -#if LIBTORRENT_VERSION_MINOR < 15 - void saveDHTEntry(); -#endif signals: void addedTorrent(const QTorrentHandle& h); @@ -209,6 +206,11 @@ signals: void alternativeSpeedsModeChanged(bool alternative); void recursiveTorrentDownloadPossible(QTorrentHandle &h); +private: +#if LIBTORRENT_VERSION_MINOR < 15 + void saveDHTEntry(); +#endif + private: // Bittorrent session *s;