Re: [PATCH 19/20] block: Use GString instead of QString to build filenames

2020-12-11 Thread Vladimir Sementsov-Ogievskiy
11.12.2020 20:11, Markus Armbruster wrote: QString supports modifying its string, but it's quite limited: you can only append. Just one caller remains: bdrv_parse_filename_strip_prefix() uses it just for building an initial string. Change it to do build the initial string with GString. This is

[PATCH 19/20] block: Use GString instead of QString to build filenames

2020-12-11 Thread Markus Armbruster
QString supports modifying its string, but it's quite limited: you can only append. Just one caller remains: bdrv_parse_filename_strip_prefix() uses it just for building an initial string. Change it to do build the initial string with GString. This is another step towards making QString immutabl