Update mainwindow.cpp

typo
Merge pull request #2 from Dybian/patch-1

Update mainwindow.cpp