Qt: Fix crash when initializing gamepads
Qt: Fix crash when initializing gamepads

Iniquitatis/mgba,Anty-Lemon/mgba,mgba-emu/mgba,fr500/mgba,askotx/mgba,askotx/mgba,jeremyherbert/mgba,bentley/mgba,Touched/mgba,askotx/mgba,iracigt/mgba,jeremyherbert/mgba,sergiobenrocha2/mgba,Touched/mgba,sergiobenrocha2/mgba,fr500/mgba,libretro/mgba,matthewbauer/mgba,Iniquitatis/mgba,zerofalcon/mgba,libretro/mgba,iracigt/mgba,bentley/mgba,MerryMage/mgba,askotx/mgba,mgba-emu/mgba,Iniquitatis/mgba,sergiobenrocha2/mgba,sergiobenrocha2/mgba,cassos/mgba,cassos/mgba,AdmiralCurtiss/mgba,cassos/mgba,libretro/mgba,zerofalcon/mgba,libretro/mgba,fr500/mgba,fr500/mgba,AdmiralCurtiss/mgba,Anty-Lemon/mgba,sergiobenrocha2/mgba,mgba-emu/mgba,Anty-Lemon/mgba,libretro/mgba,jeremyherbert/mgba,Iniquitatis/mgba,mgba-emu/mgba,iracigt/mgba,MerryMage/mgba,MerryMage/mgba,Anty-Lemon/mgba,zerofalcon/mgba,jeremyherbert/mgba,iracigt/mgba,matthewbauer/mgba,Touched/mgba,AdmiralCurtiss/mgba