Add comment explaining the URL numbering

wilder
Martin T. H. Sandsmark 6 years ago committed by Kurt Hindenburg
parent 88f2462e64
commit 52b0e7db52
  1. 6
      src/filterHotSpots/FilterChain.cpp

@ -256,7 +256,11 @@ void FilterChain::paint(TerminalDisplay* td, QPainter& painter)
int urlNumInc;
// TODO: Remove _reverseUrllHints from TerminalDisplay.
if (_reverseUrlHints) { // TODO: Access reverseUrlHints from the profile, here.
// TODO: Access reverseUrlHints from the profile, here.
if (_reverseUrlHints) {
// The URL hint numbering should be 'physically' increasing on the
// keyboard, so they start at one and end up on 10 (on 0, or at least
// they used to, but it seems to have changed, I'll fix that later).
urlNumber = count(HotSpot::Link);
urlNumInc = -1;
} else {

Loading…
Cancel
Save