Use libtorrent version.hpp instead of our own DEFINE

This commit is contained in:
Christophe Dumez
2010-06-07 08:47:56 +00:00
parent 9650b268b2
commit 1288c7092b
19 changed files with 87 additions and 100 deletions

View File

@@ -31,7 +31,8 @@
#ifndef TRANSFERLISTWIDGET_H
#define TRANSFERLISTWIDGET_H
#include<QTreeView>
#include <QTreeView>
#include <libtorrent/version.hpp>
#include "qtorrenthandle.h"
class QStandardItemModel;
@@ -105,7 +106,7 @@ protected slots:
void updateMetadata(QTorrentHandle &h);
void currentChanged(const QModelIndex& current, const QModelIndex&);
void resumeTorrent(QTorrentHandle &h);
#ifdef LIBTORRENT_0_15
#if LIBTORRENT_VERSION_MINOR > 14
void toggleSelectedTorrentsSuperSeeding() const;
#endif
void toggleSelectedTorrentsSequentialDownload() const;