]> sigrok.org Git - pulseview.git/commitdiff
Explicitly initialise QObject in the copy constructor
authorJoel Holdsworth <redacted>
Wed, 16 Jan 2013 18:56:16 +0000 (18:56 +0000)
committerJoel Holdsworth <redacted>
Wed, 16 Jan 2013 18:56:16 +0000 (18:56 +0000)
pv/view/timemarker.cpp

index ec0ab9a4fe4f59857e47e0fcc7443747e3039a1c..8474791d485a31f888b1b68aa47b5b98617425c8 100644 (file)
@@ -36,6 +36,7 @@ TimeMarker::TimeMarker(const View &view, const QColor &colour,
 }
 
 TimeMarker::TimeMarker(const TimeMarker &s) :
+       QObject(),
        _view(s._view),
        _colour(s._colour),
        _time(s._time)