Skip to content

Always display vendor & product IDs in left-padded 4-digit format

ivan tkachenko requested to merge work/ratijas/vid-pid into master

Unfortunately, C++ (and consequently Qt) lacks sane string formatting API, leaving us with the only option: to use a dummy "%1" arg string.

Why: because it would be easier to Ctrl+C Ctrl+F search things if everyone were to use the same format. And just why would you not use a fixed format for a 16-bytes fixed identifier?


I should stop sending new patches until I finish sorting out the old ones...

Edited by ivan tkachenko

Merge request reports

Loading