* src/frontends/qt2/qscreen.C

(void QScreen::showCursor):
        (void QScreen::removeCursor): use update instead of repaint.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13459 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-03-23 11:15:00 +00:00
parent 556da959ae
commit 4fd5c07875

View File

@ -144,7 +144,7 @@ void QScreen::showCursor(int x, int y, int h, Cursor_Shape shape)
break;
}
owner_.getContent()->repaint(
owner_.getContent()->update(
cursor_x_, cursor_y_,
cursor_w_, cursor_h_);
}
@ -160,5 +160,5 @@ void QScreen::removeCursor()
&nocursor_pixmap_, 0, 0, cursor_w_, cursor_h_);
owner_.getContent()
->repaint(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
->update(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
}