]> sigrok.org Git - pulseview.git/blobdiff - pv/view/timemarker.cpp
Made TimeMarker and Cursor QObjects
[pulseview.git] / pv / view / timemarker.cpp
index 9f5bd5e8c75effd218781125a82f0ed8b9b70fd9..49d90e39d551447f563debf9ea2e04b90d6bec4e 100644 (file)
@@ -35,6 +35,13 @@ TimeMarker::TimeMarker(const View &view, const QColor &colour,
 {
 }
 
+TimeMarker::TimeMarker(const TimeMarker &s) :
+       _view(s._view),
+       _colour(s._colour),
+       _time(s._time)
+{
+}
+
 double TimeMarker::time() const
 {
        return _time;