Qt UI: fix build after recent commits (part 1)