qtutils: check for None explicitly in create_toolbutton()

Signed-off-by: David Aguilar <davvid@gmail.com>