So I have this:
list << ui->dox_name->text() << ui->dox_victim_age->text() << ui->dox_whore_age->text()
<< ui->dox_location->text() << ui->dox_IP->text() << ui->dox_fb->text();
ui->text->setPlainText(list[0]);
//Where: "list" is QList<QString> and "dox_name" is a QLineEdit.
list << ui->dox_name->text() << ui->dox_victim_age->text() << ui->dox_whore_age->text()
<< ui->dox_location->text() << ui->dox_IP->text() << ui->dox_fb->text();
ui->text->setPlainText(list[0]);
//Where: "list" is QList<QString> and "dox_name" is a QLineEdit.
To copy to clipboard, switch view to plain text mode
It work fine the first time,however if I want to update the "list" in runtime,the plaintext won't change.
Why?
Bookmarks