Merge pull request #12701 from Tilka/usbwait

Qt: trigger first USB device scan without a timer
This commit is contained in:
Tilka 2024-04-12 14:25:45 +01:00 committed by GitHub
commit 771858b182
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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