From 75810e1791b489786dd4018ae81871d3045e729c Mon Sep 17 00:00:00 2001 From: Michal Vokac Date: Sat, 12 May 2012 00:48:04 +0200 Subject: [PATCH 1/1] display-gt: Display mouse cursor and title bar on PC. --- src/display-qt/displayqt.cpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.2