mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Replace style sheet in PreLaunchInput
This commit is contained in:
@@ -110,12 +110,12 @@ PreLaunchInput::PreLaunchInput(QWidget *parent, bool password) : QLineEdit(paren
|
||||
setFont(logFont);
|
||||
|
||||
QPalette p(palette());
|
||||
p.setColor(QPalette::Window, QColor(255, 255, 255));
|
||||
p.setColor(QPalette::Base, QColor(255, 255, 255));
|
||||
p.setColor(QPalette::WindowText, QColor(0, 0, 0));
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user