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:
baldurk
2017-05-02 16:20:37 +01:00
parent 474ba91d8b
commit 0ecc6ca877
50 changed files with 2076 additions and 1921 deletions
@@ -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()