refactor: qsynedit remove no use code

This commit is contained in:
Roy Qu 2024-03-24 09:08:56 +08:00
parent e1b716200d
commit e9d95a4682
1 changed files with 3 additions and 1 deletions

View File

@ -5876,8 +5876,10 @@ bool QSynEdit::isCaretVisible()
void QSynEdit::paintEvent(QPaintEvent *event)
{
if (mPainting)
if (mPainting) {
qDebug()<<"painting!";
return;
}
mPainting = true;
auto action = finally([&,this] {
mPainting = false;