Fix usage of 'emit' macro

Even though it doesn't expand to anything...
This commit is contained in:
Martin Kleusberg
2017-10-30 13:12:28 +01:00
parent 3bd2dc3bc1
commit 7c1ff86900
2 changed files with 2 additions and 2 deletions

View File

@@ -76,7 +76,7 @@ void EditTableDialog::keyPressEvent(QKeyEvent *evt)
if((evt->modifiers() & Qt::ControlModifier)
&& (evt->key() == Qt::Key_Enter || evt->key() == Qt::Key_Return))
{
emit accept();
accept();
return;
}
if(evt->key() == Qt::Key_Enter || evt->key() == Qt::Key_Return)