mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-05 00:09:32 -04:00
Fix some incorrect super class methods called
This commit is contained in:
parent
9d6e8e2244
commit
e0e0502f00
@ -1928,7 +1928,7 @@ bool QgsLayoutMapItemBlocksLabelsModel::setData( const QModelIndex &index, const
|
||||
|
||||
Qt::ItemFlags QgsLayoutMapItemBlocksLabelsModel::flags( const QModelIndex &index ) const
|
||||
{
|
||||
Qt::ItemFlags flags = QAbstractItemModel::flags( index );
|
||||
Qt::ItemFlags flags = QSortFilterProxyModel::flags( index );
|
||||
|
||||
if ( ! index.isValid() )
|
||||
{
|
||||
|
@ -186,7 +186,7 @@ void QgsTemporalControllerWidget::keyPressEvent( QKeyEvent *e )
|
||||
{
|
||||
togglePause();
|
||||
}
|
||||
QWidget::keyPressEvent( e );
|
||||
QgsPanelWidget::keyPressEvent( e );
|
||||
}
|
||||
|
||||
void QgsTemporalControllerWidget::aboutToShowRangeMenu()
|
||||
|
@ -118,7 +118,7 @@ Qt::ItemFlags DockModel::flags( const QModelIndex &index ) const
|
||||
if ( !index.isValid() )
|
||||
return Qt::ItemIsEnabled;
|
||||
|
||||
Qt::ItemFlags flags = QAbstractItemModel::flags( index );
|
||||
Qt::ItemFlags flags = QAbstractTableModel::flags( index );
|
||||
return flags;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user