mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Fix leak
This commit is contained in:
parent
831d75ea48
commit
d5e9881690
@ -68,7 +68,7 @@ QgsStacSourceSelect::QgsStacSourceSelect( QWidget *parent, Qt::WindowFlags fl, Q
|
|||||||
connect( mStac, &QgsStacController::finishedCollectionsRequest, this, &QgsStacSourceSelect::onCollectionsRequestFinished );
|
connect( mStac, &QgsStacController::finishedCollectionsRequest, this, &QgsStacSourceSelect::onCollectionsRequestFinished );
|
||||||
|
|
||||||
mItemsView->setModel( mItemsModel );
|
mItemsView->setModel( mItemsModel );
|
||||||
mItemsView->setItemDelegate( new QgsStacItemDelegate );
|
mItemsView->setItemDelegate( new QgsStacItemDelegate( this ) );
|
||||||
mItemsView->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
|
mItemsView->setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );
|
||||||
mItemsView->setContextMenuPolicy( Qt::CustomContextMenu );
|
mItemsView->setContextMenuPolicy( Qt::CustomContextMenu );
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user