summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/ControllersWindow.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2025-05-15 02:37:01 -0700
committerDentomologist <dentomologist@gmail.com>2025-05-15 20:36:21 -0700
commitffd46cd10c686a16e398fcfed54f1cf49911e3f5 (patch)
treeccb5c299c65929b44ba1865eb0784091c1eba1e4 /Source/Core/DolphinQt/Config/ControllersWindow.cpp
parentfc833f845c1d9f2ce158413ed2aed05b7e3e7ab2 (diff)
WiimoteControllersWidget: Fix UI hang on opening
Fix the UI hanging for several seconds when opening the Controllers window. Move the scan for Bluetooth adapters onto a separate thread so the Host thread doesn't have to wait for it. Only automatically scan for adapters once, when opening the Controllers window for the first time. Add a Refresh button to let the user refresh the adapter list afterward.
Diffstat (limited to 'Source/Core/DolphinQt/Config/ControllersWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/ControllersWindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Config/ControllersWindow.cpp b/Source/Core/DolphinQt/Config/ControllersWindow.cpp
index bb0e7a0489..2470910e8e 100644
--- a/Source/Core/DolphinQt/Config/ControllersWindow.cpp
+++ b/Source/Core/DolphinQt/Config/ControllersWindow.cpp
@@ -27,7 +27,6 @@ void ControllersWindow::showEvent(QShowEvent* event)
{
QDialog::showEvent(event);
m_wiimote_controllers->UpdateBluetoothAvailableStatus();
- m_wiimote_controllers->RefreshBluetoothAdapters();
}
void ControllersWindow::CreateMainLayout()