mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 07:09:48 -06:00
GCPadWiiUConfigDialog: Update the adapter state dynamically
Update the GC adapter config GUI if the adapter is plugged or unplugged.
This commit is contained in:
@ -16,6 +16,7 @@ class GCPadWiiUConfigDialog final : public QDialog
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit GCPadWiiUConfigDialog(int port, QWidget* parent = nullptr);
|
||||
~GCPadWiiUConfigDialog();
|
||||
|
||||
private:
|
||||
void LoadSettings();
|
||||
@ -24,6 +25,9 @@ private:
|
||||
void CreateLayout();
|
||||
void ConnectWidgets();
|
||||
|
||||
private:
|
||||
void UpdateAdapterStatus();
|
||||
|
||||
int m_port;
|
||||
|
||||
QVBoxLayout* m_layout;
|
||||
|
Reference in New Issue
Block a user