mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Make double click on selected usb whitelist device add it
This commit is contained in:
parent
406159f7f0
commit
3a8493cc59
@ -85,6 +85,8 @@ void USBDeviceAddToWhitelistDialog::InitControls()
|
||||
m_refresh_devices_timer = new QTimer(this);
|
||||
connect(usb_inserted_devices_list, &QListWidget::currentItemChanged, this,
|
||||
&USBDeviceAddToWhitelistDialog::OnDeviceSelection);
|
||||
connect(usb_inserted_devices_list, &QListWidget::itemDoubleClicked, add_button,
|
||||
&QPushButton::clicked);
|
||||
connect(m_refresh_devices_timer, &QTimer::timeout, this,
|
||||
&USBDeviceAddToWhitelistDialog::RefreshDeviceList);
|
||||
m_refresh_devices_timer->start(1000);
|
||||
|
Loading…
Reference in New Issue
Block a user