projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
USB: coding style fixes (structure naming)
[bertos.git]
/
bertos
/
emul
/
emulkbd.cpp
diff --git
a/bertos/emul/emulkbd.cpp
b/bertos/emul/emulkbd.cpp
index 0fdecc45aa2b426285dbb112ca2bcef93df848a3..ed5fb057b6bb7ff7a625940016f9d279fd1334c9 100644
(file)
--- a/
bertos/emul/emulkbd.cpp
+++ b/
bertos/emul/emulkbd.cpp
@@
-31,7
+31,6
@@
*
* -->
*
*
* -->
*
- * \version $Id$
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
*
* \author Bernie Innocenti <bernie@codewiz.org>
*
@@
-205,8
+204,7
@@
int EmulKbd::readCols(void)
EmulKey *key;
int cols = 0;
EmulKey *key;
int cols = 0;
- // FIXME: QLayoutIterator is obsolete in Qt4
- for(QLayoutIterator it(layout->iterator()); (item = it.current()); ++it)
+ for (int i = 0; (item = layout->itemAt(i)); ++i)
{
key = static_cast<EmulKey *>(item->widget());
if (key->row == active_row)
{
key = static_cast<EmulKey *>(item->widget());
if (key->row == active_row)