]> git.sesse.net Git - kdenlive/blobdiff - src/commands/addeffectcommand.cpp
Use const'ref
[kdenlive] / src / commands / addeffectcommand.cpp
index 5e09957c7890a8f253eabfeee1b16773dcb6bc48..e720caa15f0d53f3f0576c588e3e1efafe4b154a 100644 (file)
@@ -23,7 +23,7 @@
 
 #include <KLocale>
 
-AddEffectCommand::AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt, QUndoCommand * parent) :
+AddEffectCommand::AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, const QDomElement &effect, bool doIt, QUndoCommand * parent) :
         QUndoCommand(parent),
         m_view(view),
         m_track(track),