Permalink
Browse files

Merge pull request #7486 from amaiorano/fix-infinite-polling-for-usb-…

…devices

Fix infinite polling for usb devices after the "add to whitelist" dia…
  • Loading branch information...
Tilka committed Oct 14, 2018
2 parents 1abb279 + 3dec84a commit 9a1f2596267ab95dabccaaba80bbe4cbe96ec697
Showing with 3 additions and 4 deletions.
  1. +3 −4 Source/Core/DolphinQt/Settings/WiiPane.cpp
@@ -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()

0 comments on commit 9a1f259

Please sign in to comment.