* @brief Gets the number of days remaining in the active trial. */
| 136 | * @brief Gets the number of days remaining in the active trial. |
| 137 | */ |
| 138 | int Licensing::Trial::daysRemaining() const |
| 139 | { |
| 140 | return QDateTime::currentDateTimeUtc().daysTo(m_trialExpiry); |
| 141 | } |
| 142 | |
| 143 | //-------------------------------------------------------------------------------------------------- |
| 144 | // Trial management |
no outgoing calls
no test coverage detected