Update MainWindow.cpp

Fixed. Pull request is https://github.com/rhomobile/rhodes/pull/422