From 5cb277888995edecfafd83fed4cf2bd510052a4b Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 12 Apr 2020 00:45:32 +0200 Subject: port to qt5, libusb 1.0, and openobex 1.7 --- stfstrokeitem.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'stfstrokeitem.cc') diff --git a/stfstrokeitem.cc b/stfstrokeitem.cc index e2a7714..dbc7ca0 100644 --- a/stfstrokeitem.cc +++ b/stfstrokeitem.cc @@ -19,8 +19,8 @@ #include #include #include -#include -#include +#include +#include #include "notebookview.h" #include "stfstrokeitem.h" @@ -28,10 +28,12 @@ StfStrokeItem::StfStrokeItem(const QPainterPath &stroke, const PaperReplay::Sess : QGraphicsPathItem(stroke, parent), _session(session), _startTime(startTime), _endTime(endTime) { + QPen pen(Qt::black, 8.0f); if (_session.isValid()) { - setPen(QPen(Qt::darkGreen)); + pen.setColor(Qt::darkGreen); setCursor(Qt::PointingHandCursor); } + setPen(pen); } int StfStrokeItem::type() const -- cgit v1.2.3