From: Michal Vokac Date: Fri, 11 May 2012 22:48:04 +0000 (+0200) Subject: display-gt: Display mouse cursor and title bar on PC. X-Git-Url: http://rtime.felk.cvut.cz/gitweb/eurobot/public.git/commitdiff_plain/75810e1791b489786dd4018ae81871d3045e729c?hp=633c5fbc34d05731c8274c4acd412cfdb123bb33 display-gt: Display mouse cursor and title bar on PC. --- diff --git a/src/display-qt/displayqt.cpp b/src/display-qt/displayqt.cpp index a8a28349..31538dc6 100644 --- a/src/display-qt/displayqt.cpp +++ b/src/display-qt/displayqt.cpp @@ -18,12 +18,14 @@ DisplayQT::DisplayQT(QWidget *parent) : ui->setupUi(this); /* create the window without the title bar */ +#ifndef __i386__ Qt::WindowFlags flags = this->windowFlags(); flags |= Qt::FramelessWindowHint; this->setWindowFlags(flags); //cursor will be hidden setCursor(QCursor(Qt::BlankCursor)); +#endif //na zacatku nazname polohu this->pos.positionIsActual=false;