MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / setCacheLoadControl

Method setCacheLoadControl

libs/librepcb/core/network/networkrequestbase.cpp:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void NetworkRequestBase::setCacheLoadControl(
92 QNetworkRequest::CacheLoadControl value) noexcept {
93 Q_ASSERT(QThread::currentThread() != NetworkAccessManager::instance());
94 Q_ASSERT(!mStarted);
95 mRequest.setAttribute(QNetworkRequest::CacheLoadControlAttribute, value);
96}
97
98void NetworkRequestBase::setExpectedReplyContentSize(qint64 bytes) noexcept {
99 Q_ASSERT(QThread::currentThread() != NetworkAccessManager::instance());

Callers 2

requestLibraryListMethod · 0.80
startLoadPictureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected