Use libtorrent version.hpp instead of our own DEFINE

This commit is contained in:
Christophe Dumez 2010-06-07 08:32:41 +00:00
commit 5f23cbc470
17 changed files with 79 additions and 62 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;
@ -106,7 +107,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;