VLD detected leak: QMenu::addAction(QAction*) (a bit obscured, it says this in QWidget::addAction() docs that QMenu overrides, but looks like it holds true on this 'promise') does not take ownership of the ptr, free them in dtor.