summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-04-08 22:59:31 +0200
committerGitHub <noreply@github.com>2023-04-08 22:59:31 +0200
commit79b8e136b7d603aaa966dd39598ba136f028cd95 (patch)
treeabb2f7e8ee15206136e623acee66d890d82826de /Source
parentd5b811dd7fadecbd79ddd5b5df38773b5f3b5eed (diff)
parent02cd8b63630bc6fae9b208531d5b31a44572412a (diff)
Merge pull request #11740 from Pokechu22/interface-pane-mouse-lock-visibility
DolphinQt: Fix mouse lock checkbox appearing when it shouldn't
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinQt/Settings/InterfacePane.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Settings/InterfacePane.cpp b/Source/Core/DolphinQt/Settings/InterfacePane.cpp
index 9365795551..8cbcc62ee3 100644
--- a/Source/Core/DolphinQt/Settings/InterfacePane.cpp
+++ b/Source/Core/DolphinQt/Settings/InterfacePane.cpp
@@ -204,6 +204,8 @@ void InterfacePane::CreateInGame()
groupbox_layout->addWidget(mouse_groupbox);
#ifdef _WIN32
groupbox_layout->addWidget(m_checkbox_lock_mouse);
+#else
+ m_checkbox_lock_mouse->hide();
#endif
}