mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-26 22:36:59 -05:00
Replace deprecated foreground() by windowText()
This commit is contained in:
parent
e1471cbd19
commit
c669ecb4dd
@ -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…
x
Reference in New Issue
Block a user