Skip to content

Clean up warning in DeviceConfig#4434

Merged
OBattler merged 1 commit into
86Box:masterfrom
cold-brewed:devcfg-warn-fix
May 8, 2024
Merged

Clean up warning in DeviceConfig#4434
OBattler merged 1 commit into
86Box:masterfrom
cold-brewed:devcfg-warn-fix

Conversation

@cold-brewed

Copy link
Copy Markdown
Contributor

Summary

This addresses a warning in qt_deviceconfig.cpp. There was a recent refactor where a raw / cast pointer to a QString was being used rather than the QString itself. This PR flips it around and let the QString (selected var) be used instead. In the one case that it needs a comparison with the C string value the necessary Qt function is used instead.

Checklist

  • I have discussed this with core contributors already

References

N/A

@OBattler
OBattler merged commit 294e957 into 86Box:master May 8, 2024
@cold-brewed
cold-brewed deleted the devcfg-warn-fix branch May 8, 2024 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants