Skip to content

Commit

Permalink
Merge pull request #12701 from Tilka/usbwait
Browse files Browse the repository at this point in the history
Qt: trigger first USB device scan without a timer
  • Loading branch information
Tilka committed Apr 12, 2024
2 parents 1fa5c34 + 99a8849 commit 771858b
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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);
Expand Down

0 comments on commit 771858b

Please sign in to comment.