Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

[mlt] Remove unused variable

Dmitry Kazakov3e814017ff28
diff --git a/libs/ui/KisPlaybackEngineMLT.cpp b/libs/ui/KisPlaybackEngineMLT.cpp
index 9be2a396f8..8aa0d983a0 100644
--- a/libs/ui/KisPlaybackEngineMLT.cpp
+++ b/libs/ui/KisPlaybackEngineMLT.cpp
@@ -428,7 +428,6 @@ void KisPlaybackEngineMLT::setCanvas(KoCanvasBase *p_canvas)
connect(animationState, &KisCanvasAnimationState::sigPlaybackStateChanged, this, [this](PlaybackState state){
Q_UNUSED(state); // We don't need the state yet -- we just want to stop and resume playback according to new state info.
- QSharedPointer<Mlt::Producer> activeProducer = m_d->canvasProducers[activeCanvas()];
StopAndResume callbackStopResume(m_d.data());
});