qtui: Fix QLayout warning printed on startup.