Antonio Maiorano 3dec84a91b Fix infinite polling for usb devices after the "add to whitelist" dialog has been opened once
Problem is that USBDeviceAddToWhitelistDialog starts a timer once created to poll for devices every second. In Qt, closing a heap-allocated dialog doesn't delete it, so it keeps on polling. This fix is to allocate dialog on the stack, then use "exec" to run it modally without returning. Once closed, the stack instance will get destroyed, thus killing the timer.
2018-10-12 21:34:05 -04:00
..
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00
2018-07-07 00:48:38 +02:00