]> sigrok.org Git - pulseview.git/blobdiff - pv/view/flag.cpp
Use a type with a greater resolution to represent time values
[pulseview.git] / pv / view / flag.cpp
index 1dc38a5741b0cafd357b6c965caa504217fae707..779ea2eec24cd8d5088b2675f9ede6978c682ba1 100644 (file)
@@ -37,7 +37,7 @@ namespace view {
 
 const QColor Flag::FillColour(0x73, 0xD2, 0x16);
 
-Flag::Flag(View &view, double time, const QString &text) :
+Flag::Flag(View &view, const pv::util::Timestamp& time, const QString &text) :
        TimeMarker(view, FillColour, time),
        text_(text)
 {