mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04: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->setGroup(m_entry->group());
|
||||
|
||||
emit m_parent->refreshSearch();
|
||||
m_parent->refreshSearch();
|
||||
close();
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,7 @@ void CsvImportWizard::load(const QString& filename, Database* database)
|
||||
void CsvImportWizard::keyFinished(bool accepted)
|
||||
{
|
||||
if (!accepted) {
|
||||
emit(importFinished(false));
|
||||
emit importFinished(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -68,11 +68,11 @@ void CsvImportWizard::keyFinished(bool accepted)
|
||||
|
||||
if (!result) {
|
||||
MessageBox::critical(this, tr("Error"), tr("Unable to calculate master key"));
|
||||
emit(importFinished(false));
|
||||
emit importFinished(false);
|
||||
}
|
||||
}
|
||||
|
||||
void CsvImportWizard::parseFinished(bool accepted)
|
||||
{
|
||||
emit(importFinished(accepted));
|
||||
emit importFinished(accepted);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user