Simple Morpion Game in Qt