viewertexteditor: nop paint event

This commit is contained in:
itsmattkc
2022-08-24 12:21:47 -07:00
parent eedebb0936
commit 8bbc81120e
+1 -4
View File
@@ -132,10 +132,7 @@ void ViewerTextEditor::Paint(QPainter *p, const QRect &clip)
void ViewerTextEditor::paintEvent(QPaintEvent *e)
{
return;
QPainter p(viewport());
Paint(&p, e->rect());
// Disable painting
}
void ViewerTextEditor::UpdateToolBar(ViewerTextEditorToolBar *toolbar, const QTextCharFormat &f, const QTextBlockFormat &b, Qt::Alignment alignment)