How to remove entry from Roster xmpp
-
Hi,
When asking that kind of question, you should first tell which library you are trying to use.
-
I am trying to remove roster , before i do so:
cliente.rosterManager().removerosterentry(ui->arbolConectados->currentItem()->text(0));
I searching about this, but i couldn remove. Someone know which is the properly update. Thanks in advance.@RIVOPICO said in How to remove entry from Roster xmpp:
cliente.rosterManager().removerosterentry(ui->arbolConectados->currentItem()->text(0));
Why the 0 ?
-
Without knowing the class you are currently using it's pretty difficult to give you a good answer.
Then are you sure you are getting the data from the correct column ? What does
ui->arbolConectados->currentItem()->text(0)? -
Without knowing the class you are currently using it's pretty difficult to give you a good answer.
Then are you sure you are getting the data from the correct column ? What does
ui->arbolConectados->currentItem()->text(0)? -
Might be a silly question but did you explicitly check using e.g. a qDebug statement ?
-
Owner of what repository ?
I'm talking about your code sample.