Browse Source

Fix msvc warnings

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
61246f81c7
  1. 1
      src/main.cpp
  2. 4
      src/trackerlist.h

1
src/main.cpp

@ -159,6 +159,7 @@ void sigabrtHandler(int) {
#ifndef DISABLE_GUI #ifndef DISABLE_GUI
void useStyle(QApplication *app, QString style){ void useStyle(QApplication *app, QString style){
Q_UNUSED(app);
if(!style.isEmpty()) { if(!style.isEmpty()) {
QApplication::setStyle(QStyleFactory::create(style)); QApplication::setStyle(QStyleFactory::create(style));
} }

4
src/trackerlist.h

@ -36,13 +36,11 @@
#include <libtorrent/version.hpp> #include <libtorrent/version.hpp>
#include "qtorrenthandle.h" #include "qtorrenthandle.h"
#include "propertieswidget.h"
enum TrackerListColumn {COL_URL, COL_STATUS, COL_PEERS, COL_MSG}; enum TrackerListColumn {COL_URL, COL_STATUS, COL_PEERS, COL_MSG};
#define NB_STICKY_ITEM 3 #define NB_STICKY_ITEM 3
struct QTreeWidgetItem;
struct PropertiesWidget;
class TrackerList: public QTreeWidget { class TrackerList: public QTreeWidget {
Q_OBJECT Q_OBJECT

Loading…
Cancel
Save