From: Miroslav Strob Date: Tue, 5 Apr 2011 13:19:00 +0000 (+0200) Subject: display-qt: Hiding the cursor. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/eurobot/public.git/commitdiff_plain/498305ae993dd324b607b56387e53a9e148f7923 display-qt: Hiding the cursor. Hiding the cursor from the screen. --- diff --git a/src/display-qt/displayqt.cpp b/src/display-qt/displayqt.cpp index 6bfe4cda..94043740 100644 --- a/src/display-qt/displayqt.cpp +++ b/src/display-qt/displayqt.cpp @@ -22,6 +22,9 @@ DisplayQT::DisplayQT(QWidget *parent) : flags |= Qt::FramelessWindowHint; this->setWindowFlags(flags); + //cursor will be hidden + setCursor(QCursor(Qt::BlankCursor)); + //na zacatku nazname polohu this->pos.positionIsActual=false;