]> rtime.felk.cvut.cz Git - eurobot/public.git/commitdiff
src/display-qt: Window title bar and cursor are shown on arch x86_64
authorMatous Pokorny <matous.pokorny@me.com>
Thu, 6 Jun 2013 17:35:23 +0000 (19:35 +0200)
committerMatous Pokorny <matous.pokorny@me.com>
Thu, 6 Jun 2013 17:35:23 +0000 (19:35 +0200)
src/display-qt/displayqt.cpp

index b4372c25cb32df047c87546e9657d302c7f759cf..11628ef09796c2bf792999af58c9d65404483f8a 100644 (file)
@@ -17,8 +17,9 @@ DisplayQT::DisplayQT(QWidget *parent) :
 {
        ui->setupUi(this);
 
-        /* create the window without the title bar */
 #ifndef __i386__
+#ifndef        __x86_64__
+       /* create the window without the title bar */
         Qt::WindowFlags flags = this->windowFlags();
         flags |= Qt::FramelessWindowHint;
         this->setWindowFlags(flags);
@@ -26,7 +27,7 @@ DisplayQT::DisplayQT(QWidget *parent) :
        //cursor will be hidden
        setCursor(QCursor(Qt::BlankCursor));
 #endif
-
+#endif
        //na zacatku nazname polohu
        this->pos.positionIsActual=false;