[TD]Use correct translation function (fix #317)

- another translation cycle will have to run before the change is
  apparent.
This commit is contained in:
wandererfan
2024-09-14 09:43:06 -04:00
parent cd7c56eda9
commit b097779b53

View File

@@ -150,8 +150,7 @@ void TaskSectionView::setUiPrimary()
//don't allow updates until a direction is picked
ui->pbUpdateNow->setEnabled(false);
ui->cbLiveUpdate->setEnabled(false);
QString msgLiteral =
QString::fromUtf8(QT_TRANSLATE_NOOP("TaskSectionView", "No direction set"));
QString msgLiteral = QObject::tr("No direction set");
ui->lPendingUpdates->setText(msgLiteral);
}