cmake: fix compilation with zxcvbn, always enable

This commit is contained in:
selsta
2021-06-14 19:13:32 +02:00
parent 7c379e2cda
commit 6610f6f2da
17 changed files with 24871 additions and 282705 deletions

View File

@@ -459,7 +459,6 @@ QUrl WalletManager::localPathToUrl(const QString &path) const
return QUrl::fromLocalFile(path);
}
#ifndef DISABLE_PASS_STRENGTH_METER
double WalletManager::getPasswordStrength(const QString &password) const
{
static const char *local_dict[] = {
@@ -474,7 +473,6 @@ double WalletManager::getPasswordStrength(const QString &password) const
ZxcvbnUnInit();
return e;
}
#endif
bool WalletManager::saveQrCode(const QString &code, const QString &path) const
{