Awesome. Thankyou.
I'll definitely be using debug mode.
Its an issue with a loop somewhere in my code as no matter how many files I process, the first half of them return correctly and the latter half return null.
i.e. I processed 6 clouds in a folder. got 3 to return correctly and the last 3 returned null. Processed 4 and got 2 correct, and so forth.
I will do further debugging to see what is the issue.
Thanks again for your help!
CLI Help - Adding Child to ccHObject* - CommandLine Visual Studio Debugging
Re: CLI Help - Adding Child to ccHObject* - CommandLine Visual Studio Debugging
Thanks again. the issue was that I was looping a QStringList allSelectedFiles but at the end of the loop I was calling:
to get the string being stored for that loop. This was reducing the size of my list as takeAt() physcially removes the element from the list. I have now switched that code to use:
Code: Select all
allSelectedFiles.takeAt(i)
to get the string being stored for that loop. This was reducing the size of my list as takeAt() physcially removes the element from the list. I have now switched that code to use:
Code: Select all
allSelectedFiles[i]