1
0
mirror of https://github.com/strawberrymusicplayer/strawberry synced 2024-12-16 10:38:53 +01:00

Remove unneeded includes

This commit is contained in:
Jonas Kvinge 2020-04-25 00:07:18 +02:00
parent bc16a6c4cb
commit 5ba00b61be
2 changed files with 2 additions and 6 deletions

View File

@ -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) {
}
}

View File

@ -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; }