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

Method setFileName

lib/QSimpleUpdater/src/Downloader.cpp:189–195  ·  view source on GitHub ↗

* @brief Changes the name of the downloaded file. */

Source from the content-addressed store, hash-verified

187 * @brief Changes the name of the downloaded file.
188 */
189void Downloader::setFileName(const QString& file)
190{
191 m_fileName = file;
192
193 if (m_fileName.isEmpty())
194 m_fileName = "QSU_Update.bin";
195}
196
197/**
198 * @brief Changes the user-agent string used to communicate with the remote

Callers 1

setUpdateAvailableMethod · 0.45

Calls 1

isEmptyMethod · 0.80

Tested by

no test coverage detected