Update mainwindow.cpp

Thinking