diff --git a/sleepyhead/Graphs/gLineChart.cpp b/sleepyhead/Graphs/gLineChart.cpp index aa4329c7..a1765366 100644 --- a/sleepyhead/Graphs/gLineChart.cpp +++ b/sleepyhead/Graphs/gLineChart.cpp @@ -249,6 +249,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, int left, int top, int widt painter.setClipping(true); QVector lines; lines.reserve(100000); + painter.setRenderHint(QPainter::Antialiasing, true); for (int gi = 0; gi < m_codes.size(); gi++) { ChannelID code = m_codes[gi]; @@ -699,6 +700,7 @@ void gLineChart::paint(QPainter &painter, gGraph &w, int left, int top, int widt } } painter.setClipping(false); + painter.setRenderHint(QPainter::Antialiasing, false); } diff --git a/sleepyhead/SleepLib/loader_plugins/icon_loader.cpp b/sleepyhead/SleepLib/loader_plugins/icon_loader.cpp index c2f027d4..7f7f6817 100644 --- a/sleepyhead/SleepLib/loader_plugins/icon_loader.cpp +++ b/sleepyhead/SleepLib/loader_plugins/icon_loader.cpp @@ -832,7 +832,7 @@ bool FPIconLoader::OpenDetail(Machine *mach, QString filename, Profile *profile) ti = qint64(sessid) * 1000L; sess->really_set_first(ti); EventList *LK = sess->AddEventList(CPAP_LeakTotal, EVL_Event, 1); - EventList *PR = sess->AddEventList(CPAP_Pressure, EVL_Event, 0.1); + EventList *PR = sess->AddEventList(CPAP_Pressure, EVL_Event, 0.1F); EventList *FLG = sess->AddEventList(CPAP_FLG, EVL_Event); EventList *OA = sess->AddEventList(CPAP_Obstructive, EVL_Event); EventList *H = sess->AddEventList(CPAP_Hypopnea, EVL_Event);