Update mainwindow.cpp

removing junk