markers: reimplemented copy/paste
This commit is contained in:
@@ -28,6 +28,12 @@
|
||||
|
||||
namespace olive {
|
||||
|
||||
TimelineMarker::TimelineMarker(QObject *parent) :
|
||||
color_(Config::Current()[QStringLiteral("MarkerColor")].toInt())
|
||||
{
|
||||
setParent(parent);
|
||||
}
|
||||
|
||||
TimelineMarker::TimelineMarker(int color, const TimeRange &time, const QString &name, QObject *parent) :
|
||||
time_(time),
|
||||
name_(name),
|
||||
|
||||
@@ -35,6 +35,7 @@ class TimelineMarker : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
TimelineMarker(QObject* parent = nullptr);
|
||||
TimelineMarker(int color, const TimeRange& time, const QString& name = QString(), QObject* parent = nullptr);
|
||||
|
||||
const rational &time() const { return time_.in(); }
|
||||
|
||||
Reference in New Issue
Block a user