Commit 5988e08a authored by Albert Astals Cid's avatar Albert Astals Cid

Minor optimization: Don't detach

parent f578fa58
......@@ -174,7 +174,7 @@ void placeAsker::handleMapClick(QRgb c, const QPoint & , const QPointF &mapPoint
maxCount = stats[i];
}
}
c = p_mapImage -> colorTable()[indexOfMax];
c = p_mapImage -> colorTable().at(indexOfMax);
}
}
p_placedPixelIndices.append(indexOfCurrent);
......
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