| 134 | void addActionToWidgets(QAction* action, QList<QPointer<QWidget>>& widgets) |
| 135 | { |
| 136 | Q_FOREACH (QWidget* widget, widgets) |
| 137 | { |
| 138 | removePlaceHolderIfNeeded(widget); |
| 139 | if (widget) |
| 140 | { |
| 141 | widget->addAction(action); |
| 142 | } |
| 143 | } |
| 144 | } |
| 145 | void removeActionFromWidgets(QAction* action, QList<QPointer<QWidget>>& widgets) |
| 146 | { |
no test coverage detected