Changeset - fe286d8bd071
[Not reviewed]
stream
0 2 0
Hasan Yavuz Ă–ZDERYA - 7 years ago 2018-06-23 12:10:54
hy@ozderya.net
handle some TODOs
2 files changed with 6 insertions and 4 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -479,7 +479,6 @@ void PlotManager::setXAxis(bool asIndex,
 
    _xMax = xMax;
 
    for (auto curve : curves)
 
    {
 
        // TODO: what happens when addCurve(QVector) is used?
 
        FrameBufferSeries* series = static_cast<FrameBufferSeries*>(curve->data());
 
        series->setXAxis(asIndex, xMin, xMax);
 
    }
src/stream.cpp
Show inline comments
 
@@ -48,8 +48,11 @@ Stream::Stream(unsigned nc, bool x, unsi
 

	
 
Stream::~Stream()
 
{
 
    // TODO: notify deletion
 
    // TODO: delete channels
 
    for (auto ch : channels)
 
    {
 
        delete ch;
 
    }
 
    delete xData;
 
}
 

	
 
bool Stream::hasX() const
 
@@ -132,7 +135,7 @@ void Stream::setNumChannels(unsigned nc,
 
    if (nc != oldNum)
 
    {
 
        _infoModel.setNumOfChannels(nc);
 
        // TODO: how abut X change?
 
        // TODO: how about X change?
 
        emit numChannelsChanged(nc);
 
    }
 

	
0 comments (0 inline, 0 general)