git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
it doesn't compile with const
[enigma2.git]
/
lib
/
gui
/
elistbox.cpp
diff --git
a/lib/gui/elistbox.cpp
b/lib/gui/elistbox.cpp
index 4f799a176cc60b26c664c7402bf1ef0808f0dfe8..dc735f85a391acdb8814daddf9e96fc092bafdbc 100644
(file)
--- a/
lib/gui/elistbox.cpp
+++ b/
lib/gui/elistbox.cpp
@@
-9,7
+9,7
@@
eListbox::eListbox(eWidget *parent): eWidget(parent)
ePtr<eActionMap> ptr;
eActionMap::getInstance(ptr);
ePtr<eActionMap> ptr;
eActionMap::getInstance(ptr);
- m_itemheight = 2
0
;
+ m_itemheight = 2
5
;
ptr->bindAction("ListboxActions", 0, 0, this);
}
ptr->bindAction("ListboxActions", 0, 0, this);
}
@@
-144,7
+144,7
@@
int eListbox::event(int event, void *data, void *data2)
for (int y = 0, i = 0; i < m_items_per_page; y += m_itemheight, ++i)
{
for (int y = 0, i = 0; i < m_items_per_page; y += m_itemheight, ++i)
{
- m_content->paint(painter, *style, ePoint(0, y), m_selected == m_content->cursorGet());
+ m_content->paint(painter, *style, ePoint(0, y), m_selected == m_content->cursorGet()
&& m_content->size()
);
m_content->cursorMove(+1);
}
m_content->cursorMove(+1);
}