change mainwindow.cpp