Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 3acc1e50 authored by Laurent Montel's avatar Laurent Montel 😁

Add more const'ref

parent f59659f0
......@@ -8243,7 +8243,7 @@ void CustomTrackView::dropClipGeometry(ClipItem *clip, const QString &geometry)
slotImportClipKeyframes(AVWidget, clip->info(), currentEffect.cloneNode().toElement(), data);
}
void CustomTrackView::breakLockedGroups(const QList<ItemInfo> &clipsToMove, const QList<ItemInfo> transitionsToMove, QUndoCommand *masterCommand, bool doIt)
void CustomTrackView::breakLockedGroups(const QList<ItemInfo> &clipsToMove, const QList<ItemInfo> &transitionsToMove, QUndoCommand *masterCommand, bool doIt)
{
QList <AbstractGroupItem *> processedGroups;
for (int i = 0; i < clipsToMove.count(); ++i) {
......
......@@ -556,7 +556,7 @@ private:
/** @brief Timeline selection changed, update effect stack. */
void updateTimelineSelection();
/** @brief Break groups containing an item in a locked track. */
void breakLockedGroups(const QList<ItemInfo> &clipsToMove, const QList<ItemInfo> transitionsToMove, QUndoCommand *masterCommand, bool doIt = true);
void breakLockedGroups(const QList<ItemInfo> &clipsToMove, const QList<ItemInfo> &transitionsToMove, QUndoCommand *masterCommand, bool doIt = true);
void slotTrackUp();
void slotTrackDown();
......
......@@ -1612,7 +1612,7 @@ void Timeline::disableTimelineEffects(bool disable)
}
}
void Timeline::importPlaylist(ItemInfo info, const QMap <QString, QString> &idMaps, const QDomDocument &doc, QUndoCommand *command)
void Timeline::importPlaylist(const ItemInfo &info, const QMap <QString, QString> &idMaps, const QDomDocument &doc, QUndoCommand *command)
{
projectView()->importPlaylist(info, idMaps, doc, command);
}
......
......@@ -154,7 +154,7 @@ public:
void getSubfilters(Mlt::Filter *effect, QDomElement &currenteffect);
static bool isSlide(QString geometry);
/** @brief Import amultitrack MLT playlist in timeline */
void importPlaylist(ItemInfo info, const QMap<QString, QString> &idMaps, const QDomDocument &doc, QUndoCommand *command);
void importPlaylist(const ItemInfo &info, const QMap<QString, QString> &idMaps, const QDomDocument &doc, QUndoCommand *command);
/** @brief Creates an overlay track with a filtered clip */
bool createOverlay(Mlt::Filter *filter, int tk, int startPos);
/** @brief Creates an overlay track with a ripple transition*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment