Fix flickering when running with Direct2D (#4851)

This commit is contained in:
nerix
2023-10-01 07:13:37 +02:00
committed by GitHub
parent 4d8b62364d
commit 916427a612
6 changed files with 14 additions and 5 deletions
-1
View File
@@ -1117,7 +1117,6 @@ void Notebook::setTabLocation(NotebookTabLocation location)
void Notebook::paintEvent(QPaintEvent *event)
{
BaseWidget::paintEvent(event);
auto scale = this->scale();
QPainter painter(this);