fix for bur0k

This commit is contained in:
fourtf
2018-01-17 17:17:26 +01:00
parent b3951262c8
commit 7310f1b888
4 changed files with 29 additions and 2 deletions
+4 -2
View File
@@ -120,9 +120,11 @@ void NotebookTab::setHighlightState(HighlightState newHighlightStyle)
return;
}
this->highlightState = newHighlightStyle;
if (this->highlightState != HighlightState::Highlighted) {
this->highlightState = newHighlightStyle;
this->update();
this->update();
}
}
QRect NotebookTab::getDesiredRect() const
+2
View File
@@ -160,6 +160,8 @@ void SplitHeader::updateModerationModeIcon()
this->moderationButton->setPixmap(this->split->getModerationMode()
? resourceManager.moderationmode_enabled->getPixmap()
: resourceManager.moderationmode_disabled->getPixmap());
this->moderationButton->setVisible(this->split->channel->hasModRights());
}
void SplitHeader::paintEvent(QPaintEvent *)