From 09012510b6a67b9a98a65acadb6ec37cacc02859 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 17 Mar 2016 18:51:10 +1000 Subject: [PATCH] Move Minutes at pressure tooltip to other side of cursor so it's visible at the end --- sleepyhead/Graphs/MinutesAtPressure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleepyhead/Graphs/MinutesAtPressure.cpp b/sleepyhead/Graphs/MinutesAtPressure.cpp index 3ae92bec..856a7fd5 100644 --- a/sleepyhead/Graphs/MinutesAtPressure.cpp +++ b/sleepyhead/Graphs/MinutesAtPressure.cpp @@ -281,7 +281,7 @@ void MinutesAtPressure::paint(QPainter &painter, gGraph &graph, const QRegion &r } else { str.chop(1);// +=QObject::tr("No Data Here"); } - graph.ToolTip(str, mouse.x(), mouse.y(), TT_AlignLeft); + graph.ToolTip(str, mouse.x(), mouse.y(), TT_AlignRight); }