Hi,
How can I pass QByteArray as a pointer.
My function:
void removeStars(QByteArray *array){
//something
}
And I am doing this:

QByteArray array;
...
removeStars(&array);

I got this error:
QByteArray:perator QNoImplicitBoolCast() const’ is private

I tried as it would be char * but it didn’t work too. I mean I used this array like a pointer when I passed it.
David