完善测试
This commit is contained in:
@@ -306,9 +306,11 @@ void TimelineMarkerList::HandleMarkerTimeChange()
|
||||
MarkerAddCommand::MarkerAddCommand(TimelineMarkerList *marker_list,
|
||||
const TimeRange &range, const QString &name,
|
||||
int color)
|
||||
: MarkerAddCommand(marker_list,
|
||||
new TimelineMarker(color, range, name, &memory_manager_))
|
||||
: marker_list_(marker_list)
|
||||
, added_marker_(nullptr)
|
||||
{
|
||||
added_marker_ = new TimelineMarker(color, range, name, &memory_manager_);
|
||||
added_marker_->setParent(&memory_manager_);
|
||||
}
|
||||
|
||||
MarkerAddCommand::MarkerAddCommand(TimelineMarkerList *marker_list,
|
||||
|
||||
Reference in New Issue
Block a user