mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-24 00:31:36 +01:00
Add missing calls to base class constructor.
This commit is contained in:
parent
e4966d1594
commit
bbe7a48c27
@ -31,7 +31,8 @@
|
||||
QMutex ThreadSafeNetworkDiskCache::sMutex;
|
||||
QNetworkDiskCache* ThreadSafeNetworkDiskCache::sCache = nullptr;
|
||||
|
||||
ThreadSafeNetworkDiskCache::ThreadSafeNetworkDiskCache(QObject* parent) {
|
||||
ThreadSafeNetworkDiskCache::ThreadSafeNetworkDiskCache(QObject* parent)
|
||||
: QAbstractNetworkCache(parent) {
|
||||
QMutexLocker l(&sMutex);
|
||||
if (!sCache) {
|
||||
sCache = new QNetworkDiskCache;
|
||||
@ -120,7 +121,7 @@ QNetworkReply* NetworkAccessManager::createRequest(
|
||||
}
|
||||
|
||||
NetworkTimeouts::NetworkTimeouts(int timeout_msec, QObject* parent)
|
||||
: timeout_msec_(timeout_msec) {}
|
||||
: QObject(parent), timeout_msec_(timeout_msec) {}
|
||||
|
||||
void NetworkTimeouts::AddReply(QNetworkReply* reply) {
|
||||
if (timers_.contains(reply)) return;
|
||||
|
Loading…
Reference in New Issue
Block a user