Mercurial > hg > easyhg
comparison src/changesetview.cpp @ 721:744933aba33a
Ensure black pen (otherwise this becomes invisible with macOS in dark mode)
author | Chris Cannam |
---|---|
date | Thu, 13 Dec 2018 11:07:12 +0000 |
parents | 759b81c38bb1 |
children |
comparison
equal
deleted
inserted
replaced
720:adc3c445a07f | 721:744933aba33a |
---|---|
56 paint->setClipRect(rect); | 56 paint->setClipRect(rect); |
57 | 57 |
58 DEBUG << "clip rect is " << rect << endl; | 58 DEBUG << "clip rect is " << rect << endl; |
59 | 59 |
60 paint->save(); | 60 paint->save(); |
61 paint->setPen(Qt::black); | |
61 QFont f(paint->font()); | 62 QFont f(paint->font()); |
62 f.setPixelSize(11); | 63 f.setPixelSize(11); |
63 f.setBold(true); | 64 f.setBold(true); |
64 QTransform t = paint->worldTransform(); | 65 QTransform t = paint->worldTransform(); |
65 float scale = std::min(t.m11(), t.m22()); | 66 float scale = std::min(t.m11(), t.m22()); |