mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-14 10:46:51 -07:00
Fix a deprecated Qt API usage
This commit is contained in:
parent
df8d537b2f
commit
626937fb20
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ void ControllerManager::ControllerEvent(int device_id)
|
|||
QList<int> ControllerManager::GetAvailableControllers()
|
||||
{
|
||||
#ifdef CHIAKI_GUI_ENABLE_SDL_GAMECONTROLLER
|
||||
return available_controllers.toList();
|
||||
return available_controllers.values();
|
||||
#else
|
||||
return {};
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue