diff options
author | bunnei <bunneidev@gmail.com> | 2020-05-07 00:50:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-07 00:50:43 +0200 |
commit | 3c39a87146b9cd0daf6dc0bd226bd25ea36bd170 (patch) | |
tree | bdaf4ae9d6708470fb5e4d99f935123602d73c42 | |
parent | Merge pull request #3815 from FernandoS27/command-list-2 (diff) | |
parent | Menubar: fix mouse tracking bug (diff) | |
download | yuzu-3c39a87146b9cd0daf6dc0bd226bd25ea36bd170.tar yuzu-3c39a87146b9cd0daf6dc0bd226bd25ea36bd170.tar.gz yuzu-3c39a87146b9cd0daf6dc0bd226bd25ea36bd170.tar.bz2 yuzu-3c39a87146b9cd0daf6dc0bd226bd25ea36bd170.tar.lz yuzu-3c39a87146b9cd0daf6dc0bd226bd25ea36bd170.tar.xz yuzu-3c39a87146b9cd0daf6dc0bd226bd25ea36bd170.tar.zst yuzu-3c39a87146b9cd0daf6dc0bd226bd25ea36bd170.zip |
-rw-r--r-- | src/yuzu/main.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 0a6839b2d..86e8a1d49 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1026,7 +1026,6 @@ void GMainWindow::BootGame(const QString& filename) { mouse_hide_timer.start(); setMouseTracking(true); ui.centralwidget->setMouseTracking(true); - ui.menubar->setMouseTracking(true); } const u64 title_id = Core::System::GetInstance().CurrentProcess()->GetTitleID(); @@ -1099,7 +1098,6 @@ void GMainWindow::ShutdownGame() { setMouseTracking(false); ui.centralwidget->setMouseTracking(false); - ui.menubar->setMouseTracking(false); UpdateWindowTitle(); @@ -1861,12 +1859,10 @@ void GMainWindow::OnConfigure() { if (UISettings::values.hide_mouse && emulation_running) { setMouseTracking(true); ui.centralwidget->setMouseTracking(true); - ui.menubar->setMouseTracking(true); mouse_hide_timer.start(); } else { setMouseTracking(false); ui.centralwidget->setMouseTracking(false); - ui.menubar->setMouseTracking(false); } dock_status_button->setChecked(Settings::values.use_docked_mode); |