1
0
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:
tux3 2015-05-18 14:43:18 +02:00
parent 2334add011
commit 7590d3d422
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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