mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-10 05:44:25 +00:00
Fix msvc warnings
This commit is contained in:
parent
70f2bfdd9a
commit
61246f81c7
@ -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));
|
||||||
}
|
}
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user