Fixed background color of input fields in crash reports with dark theme.

This commit is contained in:
23rd 2021-06-12 22:59:54 +03:00
parent a425024f21
commit 8c2b1168af
1 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,8 @@ PreLaunchInput::PreLaunchInput(QWidget *parent, bool password) : QLineEdit(paren
p.setColor(QPalette::Text, QColor(0, 0, 0));
setPalette(p);
setStyleSheet("QLineEdit { background-color: white; }");
QLineEdit::setTextMargins(0, 0, 0, 0);
setContentsMargins(0, 0, 0, 0);
if (password) {