diff --git a/frameplaybackwindow.cpp b/frameplaybackwindow.cpp index ade0c95..0b115a6 100644 --- a/frameplaybackwindow.cpp +++ b/frameplaybackwindow.cpp @@ -8,7 +8,9 @@ FramePlaybackWindow::FramePlaybackWindow(QVector *frames, SerialWorker { ui->setupUi(this); - modelFrames = frames; + //this code intentionally creates a copy here so that we + //don't pick up more frames coming in as we're going. + modelFrames = new QVector(*frames); serialWorker = worker; playbackTimer = new QTimer();