mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Fix usage of 'emit' macro
Even though it doesn't expand to anything...
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -364,7 +364,7 @@ bool SqliteTableModel::setTypedData(const QModelIndex& index, bool isBlob, const
|
||||
m_data[index.row()].replace(index.column(), newValue);
|
||||
|
||||
lock.unlock();
|
||||
emit(dataChanged(index, index));
|
||||
emit dataChanged(index, index);
|
||||
return true;
|
||||
} else {
|
||||
lock.unlock();
|
||||
|
||||
Reference in New Issue
Block a user