diff options
| author | Tilka <tilkax@gmail.com> | 2024-04-12 14:25:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-12 14:25:45 +0100 |
| commit | 771858b1828222e421373ac54df5ec4ae0908ecf (patch) | |
| tree | c48b010926f78f9d7090fbce2118be620158f956 /Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp | |
| parent | 1fa5c3485ccafb0cc89c847635ba202285828922 (diff) | |
| parent | 99a8849125f8947d1261a0ddaacde8ae98ea4ba5 (diff) | |
Merge pull request #12701 from Tilka/usbwait
Qt: trigger first USB device scan without a timer
Diffstat (limited to 'Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp b/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp index 447175ed46..fd2b26e511 100644 --- a/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp +++ b/Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp @@ -91,6 +91,7 @@ void USBDeviceAddToWhitelistDialog::InitControls() &QPushButton::clicked); connect(m_refresh_devices_timer, &QTimer::timeout, this, &USBDeviceAddToWhitelistDialog::RefreshDeviceList); + RefreshDeviceList(); m_refresh_devices_timer->start(1000); main_layout->addWidget(usb_inserted_devices_list); |
