[traff_assessment_tool] Refactor TrafficModel constructor

Signed-off-by: mvglasow <michael -at- vonglasow.com>
This commit is contained in:
mvglasow
2025-10-20 23:55:29 +03:00
parent 1b74062447
commit 800cc0641b
3 changed files with 6 additions and 14 deletions

View File

@@ -70,9 +70,7 @@ class TrafficModel : public QAbstractTableModel
public:
// TODO(mgsergio): Check we are on the right mwm. I.e. right mwm version and everything.
TrafficModel(Framework & framework, DataSource const & dataSource,
std::unique_ptr<TrafficDrawerDelegateBase> drawerDelegate,
std::unique_ptr<PointsControllerDelegateBase> pointsDelegate,
TrafficModel(Framework & framework,
MainWindow & mainWindow,
QObject * parent = Q_NULLPTR);