* @brief Rounds the given @a input to two decimal places. */
| 503 | * @brief Rounds the given @a input to two decimal places. |
| 504 | */ |
| 505 | qreal Downloader::round(const qreal& input) |
| 506 | { |
| 507 | return static_cast<qreal>(roundf(static_cast<float>(input) * 100) / 100); |
| 508 | } |
| 509 | |
| 510 | /** |
| 511 | * @brief Returns the current download directory path. |
no outgoing calls
no test coverage detected