MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / setMaxRetries

Method setMaxRetries

app/src/IO/FileTransmission.cpp:503–510  ·  view source on GitHub ↗

* @brief Sets the maximum retry count for protocol transfers. */

Source from the content-addressed store, hash-verified

501 * @brief Sets the maximum retry count for protocol transfers.
502 */
503void IO::FileTransmission::setMaxRetries(int retries)
504{
505 int clamped = qMax(1, retries);
506 if (m_maxRetries != clamped) {
507 m_maxRetries = clamped;
508 Q_EMIT maxRetriesChanged();
509 }
510}
511
512/**
513 * @brief Sets the transfer mode.

Callers 1

beginTransmissionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected