Closed bgallois closed 1 year ago
Should be better if the pattern
... QAction *action = new QAction("action"); connect(action, &QAction::triggered, this, doSomething); menu->addAction(action); ...
is replaced by the most correct
... QAction *action = menu->addAction("action"); connect(action, &QAction::triggered, this, doSomething); ...
Done with a0e89912c34016b42e21daf1a44f1b1a0580f949, 05d9bd0b5029673e838ee3b57469dd0b00c2da54 and 8ea50dcf07fcdeaa6f0ce27fb9457156496f940d.
Should be better if the pattern
is replaced by the most correct