Fix whitespace consistency.
Change-Id: Ia5debce8e5be4e9c67e1ef303e136816ab55bf90 Reviewed-by: David Faure <faure@kde.org>bb10
parent
a09fdd91cf
commit
930bcb266c
|
|
@ -380,8 +380,8 @@ void QHeaderView::setModel(QAbstractItemModel *model)
|
|||
}
|
||||
QObject::disconnect(d->model, SIGNAL(headerDataChanged(Qt::Orientation,int,int)),
|
||||
this, SLOT(headerDataChanged(Qt::Orientation,int,int)));
|
||||
QObject::disconnect(d->model, SIGNAL(layoutAboutToBeChanged()),
|
||||
this, SLOT(_q_layoutAboutToBeChanged()));
|
||||
QObject::disconnect(d->model, SIGNAL(layoutAboutToBeChanged()),
|
||||
this, SLOT(_q_layoutAboutToBeChanged()));
|
||||
}
|
||||
|
||||
if (model && model != QAbstractItemModelPrivate::staticEmptyModel()) {
|
||||
|
|
@ -389,9 +389,9 @@ void QHeaderView::setModel(QAbstractItemModel *model)
|
|||
QObject::connect(model, SIGNAL(columnsInserted(QModelIndex,int,int)),
|
||||
this, SLOT(sectionsInserted(QModelIndex,int,int)));
|
||||
QObject::connect(model, SIGNAL(columnsAboutToBeRemoved(QModelIndex,int,int)),
|
||||
this, SLOT(sectionsAboutToBeRemoved(QModelIndex,int,int)));
|
||||
this, SLOT(sectionsAboutToBeRemoved(QModelIndex,int,int)));
|
||||
QObject::connect(model, SIGNAL(columnsRemoved(QModelIndex,int,int)),
|
||||
this, SLOT(_q_sectionsRemoved(QModelIndex,int,int)));
|
||||
this, SLOT(_q_sectionsRemoved(QModelIndex,int,int)));
|
||||
} else {
|
||||
QObject::connect(model, SIGNAL(rowsInserted(QModelIndex,int,int)),
|
||||
this, SLOT(sectionsInserted(QModelIndex,int,int)));
|
||||
|
|
|
|||
Loading…
Reference in New Issue