Skip to content

Commit

Permalink
Fix some incorrect super class methods called
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Mar 13, 2023
1 parent 3b906c3 commit d7a42a8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gui/layout/qgslayoutmapwidget.cpp
Expand Up @@ -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() )
{
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgstemporalcontrollerwidget.cpp
Expand Up @@ -186,7 +186,7 @@ void QgsTemporalControllerWidget::keyPressEvent( QKeyEvent *e )
{
togglePause();
}
QWidget::keyPressEvent( e );
QgsPanelWidget::keyPressEvent( e );
}

void QgsTemporalControllerWidget::aboutToShowRangeMenu()
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/topology/dockModel.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit d7a42a8

Please sign in to comment.