mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Enable QT_NO_CAST_FROM_ASCII & QT_NO_CAST_TO_ASCII
* Added a couple of utility macros to help with the conversion. lit() is paired with tr() for untranslated text. * QFormatStr is more explicitly for non-textual formatting strings. * Both are just #define'd to QStringLiteral()
This commit is contained in:
@@ -48,7 +48,7 @@ SuggestRemoteDialog::SuggestRemoteDialog(const QString &driver, const QString &m
|
||||
|
||||
ui->remote->setEnabled(false);
|
||||
ui->remote->setIcon(QIcon());
|
||||
ui->remote->setText("No Remote");
|
||||
ui->remote->setText(tr("No Remote"));
|
||||
|
||||
ui->remote->setMenu(m_Remotes);
|
||||
}
|
||||
@@ -71,7 +71,7 @@ void SuggestRemoteDialog::remotesAdded()
|
||||
|
||||
ui->remote->setEnabled(true);
|
||||
ui->remote->setIcon(Icons::down_arrow());
|
||||
ui->remote->setText("Remote");
|
||||
ui->remote->setText(tr("Remote"));
|
||||
}
|
||||
|
||||
bool SuggestRemoteDialog::alwaysReplayLocally()
|
||||
|
||||
Reference in New Issue
Block a user