Mercurial > hg > svgui
comparison layer/Layer.cpp @ 1480:232262e38051 by-id
Update for changes to PlayParameters
author | Chris Cannam |
---|---|
date | Thu, 04 Jul 2019 18:04:44 +0100 |
parents | 696e569ff21b |
children | e540aa5d89cd |
comparison
equal
deleted
inserted
replaced
1479:9bf8aa2916e9 | 1480:232262e38051 |
---|---|
105 { | 105 { |
106 QObject::setObjectName(name); | 106 QObject::setObjectName(name); |
107 emit layerNameChanged(); | 107 emit layerNameChanged(); |
108 } | 108 } |
109 | 109 |
110 PlayParameters * | 110 std::shared_ptr<PlayParameters> |
111 Layer::getPlayParameters() | 111 Layer::getPlayParameters() |
112 { | 112 { |
113 // cerr << "Layer (" << this << ", " << objectName() << ")::getPlayParameters: model is "<< getModel() << endl; | |
114 return PlayParameterRepository::getInstance()->getPlayParameters | 113 return PlayParameterRepository::getInstance()->getPlayParameters |
115 (getModel().untyped); | 114 (getModel().untyped); |
116 return nullptr; | |
117 } | 115 } |
118 | 116 |
119 void | 117 void |
120 Layer::setLayerDormant(const LayerGeometryProvider *v, bool dormant) | 118 Layer::setLayerDormant(const LayerGeometryProvider *v, bool dormant) |
121 { | 119 { |