all repos — mgba @ dbe5e7e2a559f0bc53c535b03502f28edd554218

mGBA Game Boy Advance Emulator

Only blank cursor for Display widget, even when in full screen
Jeffrey Pfau jeffrey@endrift.com
Sat, 18 Oct 2014 03:40:26 -0700
commit

dbe5e7e2a559f0bc53c535b03502f28edd554218

parent

8e4a3439c05395f0c274db4d9089f75867cd71f4

2 files changed, 1 insertions(+), 2 deletions(-)

jump to
M src/platform/qt/Display.cppsrc/platform/qt/Display.cpp

@@ -31,6 +31,7 @@ {

setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); setMinimumSize(VIDEO_HORIZONTAL_PIXELS, VIDEO_VERTICAL_PIXELS); setAutoBufferSwap(false); + setCursor(Qt::BlankCursor); } void Display::startDrawing(const uint32_t* buffer, GBAThread* thread) {
M src/platform/qt/Window.cppsrc/platform/qt/Window.cpp

@@ -179,10 +179,8 @@

void Window::toggleFullScreen() { if (isFullScreen()) { showNormal(); - setCursor(Qt::ArrowCursor); } else { showFullScreen(); - setCursor(Qt::BlankCursor); } }