Browse Source

Fix tr() without QObject

pull/1679/head
tux3 10 years ago
parent
commit
7590d3d422
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 2
      src/widget/form/profileform.cpp

2
src/widget/form/profileform.cpp

@ -67,7 +67,7 @@ ProfileForm::ProfileForm(QWidget *parent) : @@ -67,7 +67,7 @@ ProfileForm::ProfileForm(QWidget *parent) :
headLayout->addWidget(nameLabel);
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));
// tox

Loading…
Cancel
Save