Update graphicalapplication.cpp