1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Scroll public key to left after creation in aboutUser

This commit is contained in:
agilob 2015-11-12 21:52:54 +00:00
parent 6d440e9c8c
commit 09405f2493
No known key found for this signature in database
GPG Key ID: 296F0B764741106C

View File

@ -28,6 +28,7 @@ void AboutUser::setFriend(Friend *f)
this->setWindowTitle(f->getDisplayedName());
ui->userName->setText(f->getDisplayedName());
ui->publicKey->setText(QString(f->getToxId().toString()));
ui->publicKey->setCursorPosition(0); //scroll textline to left
ui->note->setPlainText(Settings::getInstance().getContactNote(f->getToxId()));
QPixmap avatar = Settings::getInstance().getSavedAvatar(f->getToxId().toString());