Files
obs-studio/UI
Ryan Foster 05d29aa4e3 UI: Set default string size arg for QT_UTF8 / QString::fromUtf8
Our QT_UTF8(str) macro uses QString::fromUtf8(str) with no size
argument. In Qt5, QString::fromUtf8 uses a default value of -1 for the
size arg. If size is -1, it is taken to be strlen(str). In Qt6,
QString::fromUtf8 doesn't use a default value for the size arg, but has
the same behavior if you manually specify -1 for the size. Let's
manually specify -1 to maintain the same behavior between Qt5 and Qt6.

https://doc.qt.io/qt-5/qstring.html#fromUtf8
https://doc.qt.io/qt-6/qstring.html#fromUtf8
2021-03-09 09:16:16 -05:00
..
2020-09-27 19:03:21 +02:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-24 18:26:44 +02:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2021-03-08 21:41:13 -08:00
2021-03-08 21:41:13 -08:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2021-03-08 21:41:13 -08:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2016-08-27 20:19:45 -07:00
2019-06-23 23:49:10 -07:00
2019-02-07 14:47:15 -08:00
2021-02-09 09:39:04 -03:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2020-01-01 15:58:48 +11:00
2021-01-30 00:25:25 -08:00
2021-03-08 21:41:13 -08:00
2019-06-23 23:49:10 -07:00
2021-03-08 23:42:21 +13:00
2020-06-21 18:23:05 -07:00
2021-03-08 21:41:13 -08:00
2021-03-08 21:41:13 -08:00
2020-07-22 07:47:07 +02:00
2020-08-17 07:18:18 -07:00
2020-08-17 07:18:18 -07:00
2021-03-08 21:41:13 -08:00
2019-06-23 23:49:10 -07:00
2019-06-23 23:49:10 -07:00
2019-07-21 20:53:30 -07:00