Skip to content

Commit

Permalink
Fix typo (#827)
Browse files Browse the repository at this point in the history
IB-6657

Signed-off-by: Raul Metsma <raul@metsma.ee>
  • Loading branch information
metsma authored Sep 28, 2020
1 parent b9b3a96 commit 36db74d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/dialogs/SettingsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ void SettingsDialog::initFunctionality()
connect(ui->rdMIDUUIDCustom, &QRadioButton::toggled, ui->txtMIDUUID, [=](bool checked) {
ui->txtMIDUUID->setEnabled(checked);
setValueEx(QStringLiteral("MIDUUID-CUSTOM"), checked, QSettings().contains(QStringLiteral("MIDUUID")));
setValueEx(QStringLiteral("SIDUUID-CUSTOM"), checked, QSettings().contains(QStringLiteral("MIDUUID")));
setValueEx(QStringLiteral("SIDUUID-CUSTOM"), checked, QSettings().contains(QStringLiteral("SIDUUID")));
});
ui->rdMIDUUIDCustom->setChecked(s.value(QStringLiteral("MIDUUID-CUSTOM"), s.contains(QStringLiteral("MIDUUID"))).toBool());
ui->txtMIDUUID->setText(s.value(QStringLiteral("MIDUUID")).toString());
Expand Down
2 changes: 1 addition & 1 deletion client/dialogs/SmartIDProgress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class SmartIDProgress::Private: public QDialog, public Ui::MobileProgress
QString SKURL = QSettings().value(QStringLiteral("SID-SK-URL"), QStringLiteral(SMARTID_URL)).toString();
#endif
QString NAME = QSettings().value(QStringLiteral("SIDNAME"), QStringLiteral("RIA DigiDoc")).toString();
bool useCustomUUID = QSettings().value(QStringLiteral("SIDUUID-CUSTOM"), false).toBool();
bool useCustomUUID = QSettings().value(QStringLiteral("SIDUUID-CUSTOM"), QSettings().contains(QStringLiteral("SIDUUID"))).toBool();
QUuid UUID = useCustomUUID ? QSettings().value(QStringLiteral("SIDUUID")).toUuid() : QUuid();
#ifdef Q_OS_WIN
QWinTaskbarButton *taskbar = nullptr;
Expand Down

0 comments on commit 36db74d

Please sign in to comment.