[libcalamares] Document how to interpret percents

- use 0..1 in floats for percentages (I suppose you could
  call that a perunage, but that would be weird).
This commit is contained in:
Adriaan de Groot 2021-11-15 23:16:58 +01:00
parent d5bef9efb5
commit 3dd02edc78

View File

@ -132,6 +132,11 @@ public:
void setEmergency( bool e ) { m_emergency = e; }
signals:
/** @brief Signals that the job has made progress
*
* The parameter @p percent should be between 0 (0%) and 1 (100%).
* Values outside of this range will be clamped.
*/
void progress( qreal percent );
private: