}
}
else {
- // This is the only piece of optimisation data that needs to be explicitly
+ // This is the only piece of optimization data that needs to be explicitly
// discarded.
m_band.lastSelectionOrigin = QPoint();
m_band.lastSelectionDestination = QPoint();
do {
QRect currIndexRect = nameColumnRect(currIndex);
- // Update some optimisation info as we go.
+ // Update some optimization info as we go.
const int cr = currIndexRect.right();
const int cl = currIndexRect.left();
const int sl = selRect.left();
QPoint origin;
QPoint destination;
- // Optimisation mechanisms for use with elastic band selection.
+ // Optimization mechanisms for use with elastic band selection.
// Basically, allow "incremental" updates to the selection based
// on the last elastic band shape.
QPoint lastSelectionOrigin;