added settingssnapshot
This commit is contained in:
@@ -65,11 +65,11 @@ ChatWidgetInput::refreshTheme()
|
||||
{
|
||||
QPalette palette;
|
||||
|
||||
palette.setColor(QPalette::Foreground, ColorScheme::instance().Text);
|
||||
palette.setColor(QPalette::Foreground, ColorScheme::getInstance().Text);
|
||||
|
||||
this->textLengthLabel.setPalette(palette);
|
||||
|
||||
edit.setStyleSheet(ColorScheme::instance().InputStyleSheet);
|
||||
edit.setStyleSheet(ColorScheme::getInstance().InputStyleSheet);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -77,8 +77,8 @@ ChatWidgetInput::paintEvent(QPaintEvent *)
|
||||
{
|
||||
QPainter painter(this);
|
||||
|
||||
painter.fillRect(rect(), ColorScheme::instance().ChatInputBackground);
|
||||
painter.setPen(ColorScheme::instance().ChatInputBorder);
|
||||
painter.fillRect(rect(), ColorScheme::getInstance().ChatInputBackground);
|
||||
painter.setPen(ColorScheme::getInstance().ChatInputBorder);
|
||||
painter.drawRect(0, 0, width() - 1, height() - 1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user