mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
clang-tidy: use range loop
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
414cb5026c
commit
44333fef0a
@ -1156,11 +1156,11 @@ namespace Phantom
|
||||
points[0] = QPointF(0.0, 0.55);
|
||||
points[1] = QPointF(0.4, 1.0);
|
||||
points[2] = QPointF(1.0, 0);
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
QPointF pnt = points[i];
|
||||
for (auto& point : points) {
|
||||
QPointF pnt = point;
|
||||
pnt.setX(pnt.x() * dimx + x);
|
||||
pnt.setY(pnt.y() * dimy + y);
|
||||
points[i] = pnt;
|
||||
point = pnt;
|
||||
}
|
||||
scratchPen.setBrush(swatch.brush(color));
|
||||
scratchPen.setCapStyle(Qt::RoundCap);
|
||||
|
Loading…
Reference in New Issue
Block a user