diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-27 20:36:45 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-27 20:36:45 +0000 |
| commit | 7f07fe05cb022af426e84846a5367f3074e6bb8e (patch) | |
| tree | 2df31601d9a66734e006151480f94ece5bfc0ae8 /lib/gui/elistbox.cpp | |
| parent | 8d1f62f6525ccfdbcb83c64f701dbbc325c37dbd (diff) | |
| download | enigma2-7f07fe05cb022af426e84846a5367f3074e6bb8e.tar.gz enigma2-7f07fe05cb022af426e84846a5367f3074e6bb8e.zip | |
remove debug
Diffstat (limited to 'lib/gui/elistbox.cpp')
| -rw-r--r-- | lib/gui/elistbox.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/lib/gui/elistbox.cpp b/lib/gui/elistbox.cpp index 747733d3..09d5ec2a 100644 --- a/lib/gui/elistbox.cpp +++ b/lib/gui/elistbox.cpp @@ -159,49 +159,37 @@ void eListbox::moveSelection(int dir) if (m_content->cursorValid() && !m_content->currentCursorSelectable()) { - eDebug("position not selectable"); /* ok, our cursor position is valid (i.e. in list), but not selectable. */ /* when moving up, continue until we found a valid position. */ if ((dir == moveUp) || (dir == pageDown)) { - eDebug("moving up"); while (m_content->cursorGet()) { - eDebug("tick"); m_content->cursorMove(-1); if (m_content->currentCursorSelectable()) { - eDebug("now ok"); break; } } } else { - eDebug("moving down"); + /* else move down */ while (m_content->cursorValid()) { - eDebug("TICK"); m_content->cursorMove(+1); if (m_content->currentCursorSelectable()) { - eDebug("NOW ok"); break; } } if (!m_content->cursorValid()) - { - eDebug("not valid (i.e.: end)"); m_content->cursorMove(-1); - } } if (!m_content->currentCursorSelectable()) - { - eDebug("can't move!"); m_content->cursorSet(oldsel); - } } /* note that we could be on an invalid cursor position, but we don't |
