X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Femul%2Femulkbd.cpp;h=ed5fb057b6bb7ff7a625940016f9d279fd1334c9;hb=16138e815e7fe2e86b1685aeeb395eb43b453881;hp=0fdecc45aa2b426285dbb112ca2bcef93df848a3;hpb=4cc44c9888a0336b9d01121ec0b7ad95f4a76195;p=bertos.git diff --git a/bertos/emul/emulkbd.cpp b/bertos/emul/emulkbd.cpp index 0fdecc45..ed5fb057 100644 --- a/bertos/emul/emulkbd.cpp +++ b/bertos/emul/emulkbd.cpp @@ -31,7 +31,6 @@ * * --> * - * \version $Id$ * * \author Bernie Innocenti * @@ -205,8 +204,7 @@ int EmulKbd::readCols(void) 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(item->widget()); if (key->row == active_row)