Update mainwindow.cpp

GPLv3 header