mirror of https://github.com/mgba-emu/mgba.git
Only blank cursor for Display widget, even when in full screen
This commit is contained in:
parent
8e4a3439c0
commit
dbe5e7e2a5
|
@ -31,6 +31,7 @@ Display::Display(QGLFormat format, QWidget* parent)
|
|||
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) {
|
||||
|
|
|
@ -179,10 +179,8 @@ void Window::closeEvent(QCloseEvent* event) {
|
|||
void Window::toggleFullScreen() {
|
||||
if (isFullScreen()) {
|
||||
showNormal();
|
||||
setCursor(Qt::ArrowCursor);
|
||||
} else {
|
||||
showFullScreen();
|
||||
setCursor(Qt::BlankCursor);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue