[Qt-interest] How to see a part of the QStringList
Zeljko
zeljko at holobit.net
Sun Apr 26 10:55:38 CEST 2009
Stefanos Antaris wrote:
> I have made it as you told me but it still doesn't work
> sensor1->setText(list.at(0));
> sensor2->setText(list.at(1));
> sensor3->setText(list.at(2));
> sensor4->setText(list.at(3));
> sensor5->setText(list.at(4));
>
>
> If i just leave the first sensor without the others it works fine.But
> when i try to use the others it crashes.
Because list is out of bounds ? :)
Check list size.
More information about the Qt-interest-old
mailing list