Commit 0aaa53db authored by Kurt Hindenburg's avatar Kurt Hindenburg
Browse files

Remove unused code and assignment

17cb78ce removed some commented out code; however, some code that
was never used was left in.
parent c7ea0413
...@@ -2499,13 +2499,8 @@ void TerminalDisplay::extendSelection(const QPoint& position) ...@@ -2499,13 +2499,8 @@ void TerminalDisplay::extendSelection(const QPoint& position)
// Find left (left_not_right ? from here : from start) // Find left (left_not_right ? from here : from start)
const QPoint left = left_not_right ? here : _iPntSelCorr; const QPoint left = left_not_right ? here : _iPntSelCorr;
// Find left (left_not_right ? from start : from here) // Find right (left_not_right ? from start : from here)
QPoint right = left_not_right ? _iPntSelCorr : here; QPoint right = left_not_right ? _iPntSelCorr : here;
if (right.x() > 0 && !_columnSelectionMode) {
if (right.x() - 1 < _columns && right.y() < _lines) {
selClass = charClass(_image[loc(right.x() - 1, right.y())]);
}
}
// Pick which is start (ohere) and which is extension (here) // Pick which is start (ohere) and which is extension (here)
if (left_not_right) { if (left_not_right) {
......
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