From 61246f81c7dcab324bfc3440e024395e8d2498f6 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 7 Jun 2010 10:39:03 +0000 Subject: [PATCH] Fix msvc warnings --- src/main.cpp | 1 + src/trackerlist.h | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ef74ff6b4..e1444a581 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -159,6 +159,7 @@ void sigabrtHandler(int) { #ifndef DISABLE_GUI void useStyle(QApplication *app, QString style){ + Q_UNUSED(app); if(!style.isEmpty()) { QApplication::setStyle(QStyleFactory::create(style)); } diff --git a/src/trackerlist.h b/src/trackerlist.h index e6bce7ba2..72f0ba5f9 100644 --- a/src/trackerlist.h +++ b/src/trackerlist.h @@ -36,13 +36,11 @@ #include #include "qtorrenthandle.h" +#include "propertieswidget.h" enum TrackerListColumn {COL_URL, COL_STATUS, COL_PEERS, COL_MSG}; #define NB_STICKY_ITEM 3 -struct QTreeWidgetItem; -struct PropertiesWidget; - class TrackerList: public QTreeWidget { Q_OBJECT