X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fediteffectcommand.cpp;h=d49691229b5e19eb58b2c26d71928ecc0af50236;hb=3c844989ad9fdb96bb9258a990a9874773b3d792;hp=3fb2a33d104b0dacf1f4d1008dd0b0f789614491;hpb=8dd310a8ec870fbe688165a007504a300ae8ca98;p=kdenlive diff --git a/src/commands/editeffectcommand.cpp b/src/commands/editeffectcommand.cpp index 3fb2a33d..d4969122 100644 --- a/src/commands/editeffectcommand.cpp +++ b/src/commands/editeffectcommand.cpp @@ -21,7 +21,7 @@ #include "editeffectcommand.h" #include "customtrackview.h" #include -#include +#include EditEffectCommand::EditEffectCommand(CustomTrackView *view, const int track, const GenTime &pos, const QDomElement &oldeffect, const QDomElement &effect, int stackPos, bool refreshEffectStack, bool doIt, QUndoCommand *parent) : QUndoCommand(parent), @@ -35,7 +35,7 @@ EditEffectCommand::EditEffectCommand(CustomTrackView *view, const int track, con m_refreshEffectStack(refreshEffectStack) { QString effectName; - QDomElement namenode = effect.firstChildElement("name"); + QDomElement namenode = effect.firstChildElement(QLatin1String("name")); if (!namenode.isNull()) effectName = i18n(namenode.text().toUtf8().data()); else