Skip to content
Permalink
Browse files

Merge PR #2374: ViewCert: use QChar::fromLatin1 instead of QChar::fro…

…mAscii.
  • Loading branch information...
mkrautz committed Jun 27, 2016
2 parents e54e7cf + da39bfb commit a297a24b41564630dfc963a83514ae0ab293c122
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/mumble/ViewCert.cpp
@@ -60,7 +60,7 @@ ViewCert::ViewCert(QList<QSslCertificate> cl, QWidget *p) : QDialog(p) {
QString ViewCert::prettifyDigest(QString digest) {
QString pretty_digest = digest.toUpper();
int step = 2;
QChar separator = QChar::fromAscii(':');
QChar separator = QChar::fromLatin1(':');
for (int i = step; i < pretty_digest.size(); i += step + 1) {
pretty_digest.insert(i, separator);
}

0 comments on commit a297a24

Please sign in to comment.
You can’t perform that action at this time.