remove nouse code

This commit is contained in:
Roy Qu 2024-03-24 09:09:22 +08:00
parent e9d95a4682
commit 33a47a5361
2 changed files with 0 additions and 10 deletions

View File

@ -5876,15 +5876,6 @@ bool QSynEdit::isCaretVisible()
void QSynEdit::paintEvent(QPaintEvent *event)
{
if (mPainting) {
qDebug()<<"painting!";
return;
}
mPainting = true;
auto action = finally([&,this] {
mPainting = false;
});
// Now paint everything while the caret is hidden.
QPainter painter(viewport());
//Get the invalidated rect.

View File

@ -688,7 +688,6 @@ private:
int mMouseScrollOldTop;
bool mInserting;
bool mPainting;
PDocument mDocument;
int mLinesInWindow;
int mLeftPos;