mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix tr() without QObject
This commit is contained in:
parent
2334add011
commit
7590d3d422
|
@ -67,7 +67,7 @@ ProfileForm::ProfileForm(QWidget *parent) :
|
||||||
headLayout->addWidget(nameLabel);
|
headLayout->addWidget(nameLabel);
|
||||||
headLayout->addStretch(1);
|
headLayout->addStretch(1);
|
||||||
|
|
||||||
nameLabel->setText(tr("User Profile"));
|
nameLabel->setText(QObject::tr("User Profile"));
|
||||||
imgLabel->setPixmap(QPixmap(":/img/settings/identity.png").scaledToHeight(40, Qt::SmoothTransformation));
|
imgLabel->setPixmap(QPixmap(":/img/settings/identity.png").scaledToHeight(40, Qt::SmoothTransformation));
|
||||||
|
|
||||||
// tox
|
// tox
|
||||||
|
|
Loading…
Reference in New Issue
Block a user