mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-12 01:06:46 -04:00
The strings (broadcast.id, stream.[id|name]) are stored as QString, converted to const char * by QT_TO_UTF8 in OBSYoutubeActions, implicitly converted back to QString because the OBSYoutubeActions::ok takes const QString &, only to be converted back to const char * by QT_TO_UTF8 in OBSBasic_YouTube and immediately implicitly turned into const std::strings, only to have .c_str() called on those to get their const char * again which is needed for libobs. This is insane. Let's just pass const std::string & and be happy.
7.4 KiB
7.4 KiB