Use libtorrent version.hpp instead of our own DEFINE

This commit is contained in:
Christophe Dumez
2010-06-07 08:32:41 +00:00
parent 2e0c8f848f
commit 5f23cbc470
17 changed files with 79 additions and 62 deletions

View File

@@ -34,6 +34,7 @@
#include <QTreeWidget>
#include <QList>
#include <libtorrent/version.hpp>
#include "qtorrenthandle.h"
enum TrackerListColumn {COL_URL, COL_STATUS, COL_PEERS, COL_MSG};
@@ -62,7 +63,7 @@ protected:
public slots:
void setRowColor(int row, QColor color);
#ifndef LIBTORRENT_0_15
#if LIBTORRENT_VERSION_MINOR < 15
void moveSelectionUp();
void moveSelectionDown();
#endif