mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Merge branch 'master' of https://github.com/fourtf/chatterino2
This commit is contained in:
commit
ab6474150d
2 changed files with 8 additions and 0 deletions
|
@ -13,3 +13,7 @@ SettingsDialogTab:hover {
|
||||||
QLabel, QCheckBox, QGroupBox, SettingsDialogTab {
|
QLabel, QCheckBox, QGroupBox, SettingsDialogTab {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QGroupBox {
|
||||||
|
background-color: #444;
|
||||||
|
}
|
||||||
|
|
|
@ -26,7 +26,9 @@ ChatWidgetView::ChatWidgetView(ChatWidget *_chatWidget)
|
||||||
, scrollBar(this)
|
, scrollBar(this)
|
||||||
, userPopupWidget(_chatWidget->getChannelRef())
|
, userPopupWidget(_chatWidget->getChannelRef())
|
||||||
{
|
{
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
this->setAttribute(Qt::WA_OpaquePaintEvent);
|
this->setAttribute(Qt::WA_OpaquePaintEvent);
|
||||||
|
#endif
|
||||||
this->setMouseTracking(true);
|
this->setMouseTracking(true);
|
||||||
|
|
||||||
QObject::connect(&SettingsManager::getInstance(), &SettingsManager::wordTypeMaskChanged, this,
|
QObject::connect(&SettingsManager::getInstance(), &SettingsManager::wordTypeMaskChanged, this,
|
||||||
|
@ -152,6 +154,7 @@ void ChatWidgetView::paintEvent(QPaintEvent * /*event*/)
|
||||||
_painter.setRenderHint(QPainter::SmoothPixmapTransform);
|
_painter.setRenderHint(QPainter::SmoothPixmapTransform);
|
||||||
|
|
||||||
// only update gif emotes
|
// only update gif emotes
|
||||||
|
#ifndef Q_OS_MAC
|
||||||
if (this->onlyUpdateEmotes) {
|
if (this->onlyUpdateEmotes) {
|
||||||
this->onlyUpdateEmotes = false;
|
this->onlyUpdateEmotes = false;
|
||||||
|
|
||||||
|
@ -163,6 +166,7 @@ void ChatWidgetView::paintEvent(QPaintEvent * /*event*/)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// update all messages
|
// update all messages
|
||||||
this->gifEmotes.clear();
|
this->gifEmotes.clear();
|
||||||
|
|
Loading…
Reference in a new issue