mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
fix camel case
This commit is contained in:
parent
19d1fa8e7d
commit
0c755846fe
@ -29,7 +29,7 @@ PassphraseGenerator::PassphraseGenerator()
|
||||
, m_separator(' ')
|
||||
{
|
||||
const QString path = filePath()->dataPath("wordlists/eff_large.wordlist");
|
||||
setWordlist(path);
|
||||
setWordList(path);
|
||||
}
|
||||
|
||||
double PassphraseGenerator::calculateEntropy(QString passphrase)
|
||||
@ -54,7 +54,7 @@ void PassphraseGenerator::setWordCount(int wordCount)
|
||||
|
||||
}
|
||||
|
||||
void PassphraseGenerator::setWordlist(QString path)
|
||||
void PassphraseGenerator::setWordList(QString path)
|
||||
{
|
||||
m_wordlist.clear();
|
||||
|
||||
@ -75,7 +75,7 @@ void PassphraseGenerator::setWordlist(QString path)
|
||||
}
|
||||
}
|
||||
|
||||
void PassphraseGenerator::setWordseparator(QString separator) {
|
||||
void PassphraseGenerator::setWordSeparator(QString separator) {
|
||||
m_separator = separator;
|
||||
}
|
||||
|
||||
|
@ -29,8 +29,8 @@ public:
|
||||
|
||||
double calculateEntropy(QString passphrase);
|
||||
void setWordCount(int wordCount);
|
||||
void setWordlist(QString path);
|
||||
void setWordseparator(QString separator);
|
||||
void setWordList(QString path);
|
||||
void setWordSeparator(QString separator);
|
||||
bool isValid() const;
|
||||
|
||||
QString generatePassphrase() const;
|
||||
|
@ -363,9 +363,9 @@ void PasswordGeneratorWidget::updateGenerator()
|
||||
m_dicewareGenerator->setWordCount(m_ui->spinBoxWordCount->value());
|
||||
if (!m_ui->comboBoxWordList->currentText().isEmpty()) {
|
||||
QString path = filePath()->dataPath("wordlists/" + m_ui->comboBoxWordList->currentText());
|
||||
m_dicewareGenerator->setWordlist(path);
|
||||
m_dicewareGenerator->setWordList(path);
|
||||
}
|
||||
m_dicewareGenerator->setWordseparator(m_ui->editWordSeparator->text());
|
||||
m_dicewareGenerator->setWordSeparator(m_ui->editWordSeparator->text());
|
||||
|
||||
if (m_dicewareGenerator->isValid()) {
|
||||
m_ui->buttonGenerate->setEnabled(true);
|
||||
|
Loading…
Reference in New Issue
Block a user