qtcreator says it had too many ;'s turns out it was wrong