Qt/WiimoteControllersWidget: Add bluetooth unavailable message

This commit is contained in:
Dentomologist 2023-02-22 20:10:23 -08:00
parent 88fc431dce
commit d18735e82e
6 changed files with 28 additions and 0 deletions

View file

@ -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();