OSDN Git Service

[users] Consistent styling of status badges on input fields
authorAdriaan de Groot <groot@kde.org>
Tue, 18 Aug 2020 10:48:51 +0000 (12:48 +0200)
committerAdriaan de Groot <groot@kde.org>
Tue, 18 Aug 2020 10:48:51 +0000 (12:48 +0200)
- Use Status* icons rather than the yes/no

src/modules/users/UsersPage.cpp

index 70effca..ad0c448 100644 (file)
@@ -54,7 +54,7 @@ static inline void
 labelOk( QLabel* pix, QLabel* label )
 {
     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