summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Config/ControllersWindow.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2023-02-22 20:10:23 -0800
committerDentomologist <dentomologist@gmail.com>2023-02-24 14:30:43 -0800
commitd18735e82ea3372d407bb313b0af65692ca5ad05 (patch)
tree095a42a7bf12055feb8b0b21ce23eb76f070e9f0 /Source/Core/DolphinQt/Config/ControllersWindow.cpp
parent88fc431dce1d422cc02215d62e544b67476504ad (diff)
Qt/WiimoteControllersWidget: Add bluetooth unavailable message
Diffstat (limited to 'Source/Core/DolphinQt/Config/ControllersWindow.cpp')
-rw-r--r--Source/Core/DolphinQt/Config/ControllersWindow.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Config/ControllersWindow.cpp b/Source/Core/DolphinQt/Config/ControllersWindow.cpp
index 52c8e25f9a..2470910e8e 100644
--- a/Source/Core/DolphinQt/Config/ControllersWindow.cpp
+++ b/Source/Core/DolphinQt/Config/ControllersWindow.cpp
@@ -23,6 +23,12 @@ ControllersWindow::ControllersWindow(QWidget* parent) : QDialog(parent)
ConnectWidgets();
}
+void ControllersWindow::showEvent(QShowEvent* event)
+{
+ QDialog::showEvent(event);
+ m_wiimote_controllers->UpdateBluetoothAvailableStatus();
+}
+
void ControllersWindow::CreateMainLayout()
{
auto* layout = new QVBoxLayout();