]> git.lyx.org Git - features.git/commitdiff
* src/frontends/qt2/qscreen.C
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 23 Mar 2006 11:15:00 +0000 (11:15 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 23 Mar 2006 11:15:00 +0000 (11:15 +0000)
        (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

src/frontends/qt2/qscreen.C

index 2aff4ded178efbf577299a2bc21eb3c80ab60ff4..53ae53d284a966657a2357888d54eb39a13301ea 100644 (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_);
 }