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 9008ea46 authored by Nicolas Carion's avatar Nicolas Carion

fix compilation

parent fd915a9e
......@@ -82,7 +82,7 @@ int ClipModel::load(const std::weak_ptr<TimelineModel> &parent, const QString &b
qDebug() << "Error : construction of clip failed because parent timeline is not available anymore";
Q_ASSERT(false);
}
ProjectClip *binClip = pCore->bin()->getBinClip(binClipId);
auto binClip = pCore->bin()->getBinClip(binClipId);
if (!binClip) {
qDebug() << "Error : Bin clip for id: "<<binClipId<<" NOT AVAILABLE!!!";
}
......
......@@ -45,7 +45,7 @@ TrackModel::TrackModel(const std::weak_ptr<TimelineModel> &parent, int id)
}
}
TrackModel::TrackModel(std::weak_ptr<TimelineModel> parent, Mlt::Tractor mltTrack, int id)
TrackModel::TrackModel(const std::weak_ptr<TimelineModel> &parent, Mlt::Tractor mltTrack, int id)
: m_parent(parent)
, m_id(id == -1 ? TimelineModel::getNextId() : id)
{
......
......@@ -52,8 +52,8 @@ public:
private:
/* This constructor is private, call the static construct instead */
TrackModel(std::weak_ptr<TimelineModel> parent, int id = -1);
TrackModel(std::weak_ptr<TimelineModel> parent, Mlt::Tractor mltTrack, int id = -1);
TrackModel(const std::weak_ptr<TimelineModel> &parent, int id = -1);
TrackModel(const std::weak_ptr<TimelineModel> &parent, Mlt::Tractor mltTrack, int id = -1);
public:
/* @brief Creates a track, which references itself to the parent
......
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