Permalink
Browse files

Make double click on selected usb whitelist device add it

  • Loading branch information...
amaiorano committed Oct 10, 2018
1 parent 406159f commit 3a8493cc598cbd696f51fdfda1e18e40db08092d
Showing with 2 additions and 0 deletions.
  1. +2 −0 Source/Core/DolphinQt/Settings/USBDeviceAddToWhitelistDialog.cpp
@@ -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);

0 comments on commit 3a8493c

Please sign in to comment.