mainwindow.cpp: forgot to add SetControls func to the head file