Qt5: 'static QString Gui::TaskView::TaskWatcherCommands::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations]

This commit is contained in:
wmayer
2020-06-08 12:49:57 +02:00
committed by wwmayer
parent ca327b6f25
commit 891a435c55
6 changed files with 16 additions and 16 deletions

View File

@@ -542,8 +542,8 @@ void PropertyView::tabChanged(int index)
void PropertyView::changeEvent(QEvent *e)
{
if (e->type() == QEvent::LanguageChange) {
tabs->setTabText(0, trUtf8("View"));
tabs->setTabText(1, trUtf8("Data"));
tabs->setTabText(0, tr("View"));
tabs->setTabText(1, tr("Data"));
}
QWidget::changeEvent(e);