mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-13 09:54:16 -04:00
SetComboByName, SetComboByValue and SetInvalidValue all pass their parameters to Qt functions which only take QStrings. As a consequence, we have cases we'd convert a QString to a const char* to call these functions, only for the functions to implicitly convert them back into QStrings. We can avoid this by passing QStrings directly. In cases where we did actually pass const chars, the (implicit) conversion now just takes place earlier.