Only blank cursor for Display widget, even when in full screen

This commit is contained in:
Jeffrey Pfau 2014-10-18 03:40:26 -07:00
parent 8e4a3439c0
commit dbe5e7e2a5
2 changed files with 1 additions and 2 deletions

View File

@ -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) {

View File

@ -179,10 +179,8 @@ void Window::closeEvent(QCloseEvent* event) {
void Window::toggleFullScreen() {
if (isFullScreen()) {
showNormal();
setCursor(Qt::ArrowCursor);
} else {
showFullScreen();
setCursor(Qt::BlankCursor);
}
}