Skip to content
Permalink
Browse files

do not use emit keyword for functions

  • Loading branch information
PeterPetrik committed Jul 2, 2018
1 parent 4ca91b2 commit 82bedbaeeea68deb2e10c609b15d7ac33e4f5c9c
@@ -124,28 +124,28 @@ void QgsQuickSubModel::setModel( QAbstractItemModel *model )

void QgsQuickSubModel::onRowsAboutToBeInserted( const QModelIndex &parent, int first, int last )
{
emit beginInsertRows( mapFromSource( parent ), first, last );
beginInsertRows( mapFromSource( parent ), first, last );
}

void QgsQuickSubModel::onRowsInserted( const QModelIndex &parent, int first, int last )
{
Q_UNUSED( parent )
Q_UNUSED( first )
Q_UNUSED( last )
emit endInsertRows();
endInsertRows();
}

void QgsQuickSubModel::onRowsAboutToBeRemoved( const QModelIndex &parent, int first, int last )
{
emit beginRemoveRows( mapFromSource( parent ), first, last );
beginRemoveRows( mapFromSource( parent ), first, last );
}

void QgsQuickSubModel::onRowsRemoved( const QModelIndex &parent, int first, int last )
{
Q_UNUSED( parent )
Q_UNUSED( first )
Q_UNUSED( last )
emit endRemoveRows();
endRemoveRows();
}

void QgsQuickSubModel::onModelAboutToBeReset()
BIN +0 Bytes (100%) tests/testdata/lines.dbf
Binary file not shown.
BIN -4.41 KB (35%) tests/testdata/points.dbf
Binary file not shown.
BIN +0 Bytes (100%) tests/testdata/polys.dbf
Binary file not shown.

0 comments on commit 82bedba

Please sign in to comment.
You can’t perform that action at this time.