mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-16 10:38:53 +01:00
Remove unneeded includes
This commit is contained in:
parent
bc16a6c4cb
commit
5ba00b61be
@ -22,15 +22,12 @@
|
||||
|
||||
#include <QtGlobal>
|
||||
#include <QObject>
|
||||
#include <QUrl>
|
||||
#include <QNetworkRequest>
|
||||
#include <QNetworkReply>
|
||||
#include <QTimerEvent>
|
||||
|
||||
#include "core/closure.h"
|
||||
#include "networktimeouts.h"
|
||||
|
||||
NetworkTimeouts::NetworkTimeouts(int timeout_msec, QObject *parent)
|
||||
NetworkTimeouts::NetworkTimeouts(const int timeout_msec, QObject *parent)
|
||||
: QObject(parent), timeout_msec_(timeout_msec) {}
|
||||
|
||||
void NetworkTimeouts::AddReply(QNetworkReply *reply) {
|
||||
@ -60,4 +57,3 @@ void NetworkTimeouts::timerEvent(QTimerEvent *e) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
@ -34,7 +34,7 @@ class NetworkTimeouts : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit NetworkTimeouts(int timeout_msec, QObject *parent = nullptr);
|
||||
explicit NetworkTimeouts(const int timeout_msec, QObject *parent = nullptr);
|
||||
|
||||
void AddReply(QNetworkReply *reply);
|
||||
void SetTimeout(int msec) { timeout_msec_ = msec; }
|
||||
|
Loading…
Reference in New Issue
Block a user