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

Method setMinimumCacheTime

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

Source from the content-addressed store, hash-verified

102}
103
104void NetworkRequestBase::setMinimumCacheTime(int seconds) noexcept {
105 Q_ASSERT(QThread::currentThread() != NetworkAccessManager::instance());
106 Q_ASSERT(!mStarted);
107 mMinimumCacheTime = seconds;
108}
109
110void NetworkRequestBase::useBrowserUserAgent() noexcept {
111 Q_ASSERT(QThread::currentThread() != NetworkAccessManager::instance());

Callers 4

statusReceivedMethod · 0.80
startLoadPictureMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected