mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-19 21:13:12 -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()
|
QList<int> ControllerManager::GetAvailableControllers()
|
||||||
{
|
{
|
||||||
#ifdef CHIAKI_GUI_ENABLE_SDL_GAMECONTROLLER
|
#ifdef CHIAKI_GUI_ENABLE_SDL_GAMECONTROLLER
|
||||||
return available_controllers.toList();
|
return available_controllers.values();
|
||||||
#else
|
#else
|
||||||
return {};
|
return {};
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue