mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-02-26 17:31:17 -05:00
Use the emit keyword correctly
This commit is contained in:
parent
522e132200
commit
852e89c0df
@ -63,7 +63,7 @@ void CloneDialog::cloneEntry()
|
|||||||
Entry* entry = m_entry->clone(flags);
|
Entry* entry = m_entry->clone(flags);
|
||||||
entry->setGroup(m_entry->group());
|
entry->setGroup(m_entry->group());
|
||||||
|
|
||||||
emit m_parent->refreshSearch();
|
m_parent->refreshSearch();
|
||||||
close();
|
close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ void CsvImportWizard::load(const QString& filename, Database* database)
|
|||||||
void CsvImportWizard::keyFinished(bool accepted)
|
void CsvImportWizard::keyFinished(bool accepted)
|
||||||
{
|
{
|
||||||
if (!accepted) {
|
if (!accepted) {
|
||||||
emit(importFinished(false));
|
emit importFinished(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -68,11 +68,11 @@ void CsvImportWizard::keyFinished(bool accepted)
|
|||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
MessageBox::critical(this, tr("Error"), tr("Unable to calculate master key"));
|
MessageBox::critical(this, tr("Error"), tr("Unable to calculate master key"));
|
||||||
emit(importFinished(false));
|
emit importFinished(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CsvImportWizard::parseFinished(bool accepted)
|
void CsvImportWizard::parseFinished(bool accepted)
|
||||||
{
|
{
|
||||||
emit(importFinished(accepted));
|
emit importFinished(accepted);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user