[users] Consistent styling of status badges on input fields

- Use Status* icons rather than the yes/no
This commit is contained in:
Adriaan de Groot 2020-08-18 12:48:51 +02:00
parent fd2399f702
commit c92e12ef74

View File

@ -54,7 +54,7 @@ static inline void
labelOk( QLabel* pix, QLabel* label ) labelOk( QLabel* pix, QLabel* label )
{ {
label->clear(); label->clear();
pix->setPixmap( CalamaresUtils::defaultPixmap( CalamaresUtils::Yes, CalamaresUtils::Original, label->size() ) ); pix->setPixmap( CalamaresUtils::defaultPixmap( CalamaresUtils::StatusOk, CalamaresUtils::Original, label->size() ) );
} }
/** @brief Sets error or ok on a label depending on @p status and @p value /** @brief Sets error or ok on a label depending on @p status and @p value