modify mainwindow.cpp
set int = 2