]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
display-qt: Hiding the cursor.
authorMiroslav Strob <strobmir@fel.cvut.cz>
Tue, 5 Apr 2011 13:19:00 +0000 (15:19 +0200)
committerMiroslav Strob <strobmir@fel.cvut.cz>
Tue, 5 Apr 2011 13:19:00 +0000 (15:19 +0200)
Hiding the cursor from the screen.

src/display-qt/displayqt.cpp

index 6bfe4cda1ee0691184732068cfcb19ddec64d3bc..9404374017c52d40cc54a79a47cd07c848479533 100644 (file)
@@ -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;