refactor: qsynedit remove no use code
This commit is contained in:
parent
e1b716200d
commit
e9d95a4682
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue