Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

How to add integers into array

$
0
0
Hi, Why static arrays ? Why are you using a pointer to a QStringList ? This class is implicitly shared Why are you assigning the string list each time in the for loop ? Once at the end is enough. Are you sure that using the same string list and same listModel for each channel is the right thing ? Also, why are you storing the values in an array of int if you are going the convert them back to string ? Do you only get one int value each time for each channel ?

Viewing all articles
Browse latest Browse all 4972

Trending Articles