refactored BaseWidget

This commit is contained in:
fourtf
2018-07-06 17:11:37 +02:00
parent 741c1f7820
commit b639604a47
31 changed files with 121 additions and 134 deletions
+3 -3
View File
@@ -131,9 +131,9 @@ ChannelView::~ChannelView()
{
}
void ChannelView::themeRefreshEvent()
void ChannelView::themeChangedEvent()
{
BaseWidget::themeRefreshEvent();
BaseWidget::themeChangedEvent();
this->layoutMessages();
}
@@ -575,7 +575,7 @@ void ChannelView::paintEvent(QPaintEvent * /*event*/)
QPainter painter(this);
painter.fillRect(rect(), this->themeManager->splits.background);
painter.fillRect(rect(), this->theme->splits.background);
// draw messages
this->drawMessages(painter);