]> rtime.felk.cvut.cz Git - eurobot/public.git/blobdiff - src/display-qt/displayqt.cpp
display-gt: Display mouse cursor and title bar on PC.
[eurobot/public.git] / src / display-qt / displayqt.cpp
index a8a28349b2ed538fcb46f5ce5f0faebb0eccbd5a..31538dc6cb73b645ee016bc30cdc3c07cd5c0324 100644 (file)
@@ -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;