changed promotions from key presses to QPushButtons