Commit 59cac466 authored by Frederik Schwarzer's avatar Frederik Schwarzer

Add TODO.

parent fc62b093
......@@ -1337,7 +1337,7 @@ void Board::undrawConnection()
m_paintConnection = false;
auto pt1 = oldConnection.cbegin();
auto pt2 = pt1 + 1;
auto pt2 = pt1 + 1; // TODO: std::next?
while (pt2 != oldConnection.cend()) {
if (pt1->y() == pt2->y()) {
for (auto i = qMin(pt1->x(), pt2->x()); i <= qMax(pt1->x(), pt2->x()); ++i) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment