Update mainwindow.cpp

Updated again - removed superfluous floats