OSDN Git Service
(root)
/
alterlinux
/
alterlinux-calamares.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd2399f
)
[users] Consistent styling of status badges on input fields
author
Adriaan de Groot
<groot@kde.org>
Tue, 18 Aug 2020 10:48:51 +0000
(12:48 +0200)
committer
Adriaan 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
patch
|
blob
|
history
diff --git
a/src/modules/users/UsersPage.cpp
b/src/modules/users/UsersPage.cpp
index
70effca
..
ad0c448
100644
(file)
--- a/
src/modules/users/UsersPage.cpp
+++ b/
src/modules/users/UsersPage.cpp
@@
-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