Clean up placeholder string
use QString instead of std::string (QStringLiteral doesn't have a constructor with int, str.) remove temp variable, and just deal with it inline.
This commit is contained in:
parent
21b207d1f0
commit
53138d7f5c
@ -258,8 +258,7 @@ UserSettingsPage::UserSettingsPage(QSharedPointer<UserSettings> settings, QWidge
|
||||
deviceFingerprintValue_->setTextInteractionFlags(Qt::TextSelectableByMouse);
|
||||
deviceFingerprintValue_->setFont(monospaceFont);
|
||||
|
||||
std::string fingerprintPlaceHolder_(44, 'x');
|
||||
deviceFingerprintValue_->setText(utils::humanReadableFingerprint(fingerprintPlaceHolder_));
|
||||
deviceFingerprintValue_->setText(utils::humanReadableFingerprint(QString(44, 'X')));
|
||||
|
||||
auto sessionKeysLabel = new QLabel{tr("Session Keys"), this};
|
||||
sessionKeysLabel->setFont(font);
|
||||
|
Loading…
Reference in New Issue
Block a user