mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-23 15:00:47 -04:00
Replace deprecated foreground() by windowText()
This commit is contained in:
parent
e1471cbd19
commit
c669ecb4dd
1 changed files with 34 additions and 34 deletions
|
@ -273,7 +273,7 @@ void KMessageWidget::setMessageType(KMessageWidget::MessageType type)
|
|||
break;
|
||||
case Warning:
|
||||
bg1.setRgb(252, 193, 57);
|
||||
fg = palette().foreground().color();
|
||||
fg = palette().windowText().color();
|
||||
break;
|
||||
case Error:
|
||||
bg1.setRgb(198, 69, 21);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue