Qt5: 'static QString Gui::TaskView::TaskWatcherCommands::trUtf8(const char*, const char*, int)' is deprecated [-Wdeprecated-declarations]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user