Update mainwindow.cpp

Line 45: modify to set the path for the output image.