| 264 | |
| 265 | private: |
| 266 | PlotWidget* createPlot(const QString& state_id) { |
| 267 | auto* plot = new PlotWidget(session_, catalog_, restored_parent_); |
| 268 | plot->setStateId(state_id); |
| 269 | used_.insert(plot); |
| 270 | plots_by_position_.push_back(plot); |
| 271 | if (!plot->stateId().isEmpty() && !plots_by_id_.contains(plot->stateId())) { |
| 272 | plots_by_id_.insert(plot->stateId(), plot); |
| 273 | } |
| 274 | return plot; |
| 275 | } |
| 276 | |
| 277 | SessionManager* session_ = nullptr; |
| 278 | CatalogModel* catalog_ = nullptr; |
nothing calls this directly
no test coverage detected