Qt: Only hide cursor in full screen
Jeffrey Pfau jeffrey@endrift.com
Sun, 31 May 2015 19:55:05 -0700
3 files changed,
3 insertions(+),
1 deletions(-)
M
CHANGES
→
CHANGES
@@ -50,6 +50,7 @@ - All: Enable static linking for OS X
- Qt: Migrate multiplayer window handling into GBAApp - Qt: Unified file opening and saving with last location - Qt: Fix windows being resizable when they shouldn't have been + - Qt: Only hide cursor in full screen 0.2.1: (2015-05-13) Bugfixes:
M
src/platform/qt/Display.cpp
→
src/platform/qt/Display.cpp
@@ -16,5 +16,4 @@ : QWidget(parent)
{ setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding); setMinimumSize(VIDEO_HORIZONTAL_PIXELS, VIDEO_VERTICAL_PIXELS); - setCursor(Qt::BlankCursor); }
M
src/platform/qt/Window.cpp
→
src/platform/qt/Window.cpp
@@ -443,6 +443,7 @@ if (isFullScreen()) {
return; } showFullScreen(); + setCursor(Qt::BlankCursor); #ifndef Q_OS_MAC if (m_controller->isLoaded() && !m_controller->isPaused()) { menuBar()->hide();@@ -454,6 +455,7 @@ void Window::exitFullScreen() {
if (!isFullScreen()) { return; } + unsetCursor(); showNormal(); menuBar()->show(); }