mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #7486 from amaiorano/fix-infinite-polling-for-usb-devices
Fix infinite polling for usb devices after the "add to whitelist" dia…
This commit is contained in:
commit
9a1f259626
@ -249,11 +249,10 @@ void WiiPane::ValidateSelectionState()
|
||||
|
||||
void WiiPane::OnUSBWhitelistAddButton()
|
||||
{
|
||||
USBDeviceAddToWhitelistDialog* usb_whitelist_dialog = new USBDeviceAddToWhitelistDialog(this);
|
||||
connect(usb_whitelist_dialog, &USBDeviceAddToWhitelistDialog::accepted, this,
|
||||
USBDeviceAddToWhitelistDialog usb_whitelist_dialog(this);
|
||||
connect(&usb_whitelist_dialog, &USBDeviceAddToWhitelistDialog::accepted, this,
|
||||
&WiiPane::PopulateUSBPassthroughListWidget);
|
||||
usb_whitelist_dialog->setModal(true);
|
||||
usb_whitelist_dialog->show();
|
||||
usb_whitelist_dialog.exec();
|
||||
}
|
||||
|
||||
void WiiPane::OnUSBWhitelistRemoveButton()
|
||||
|
Loading…
x
Reference in New Issue
Block a user