Commit 47014b26 authored by Méven Car's avatar Méven Car
Browse files

KItemList: fix warnings

NO_CHANGELOG
parent 2e333e1b
Pipeline #173585 passed with stage
in 4 minutes and 54 seconds
......@@ -77,7 +77,6 @@ KItemListView::KItemListView(QGraphicsWidget* parent) :
m_visibleItems(),
m_visibleGroups(),
m_visibleCells(),
m_sizeHintResolver(nullptr),
m_layouter(nullptr),
m_animation(nullptr),
m_oldScrollOffset(0),
......@@ -93,7 +92,8 @@ KItemListView::KItemListView(QGraphicsWidget* parent) :
m_header(nullptr),
m_headerWidget(nullptr),
m_indicatorAnimation(nullptr),
m_dropIndicator()
m_dropIndicator(),
m_sizeHintResolver(nullptr)
{
setAcceptHoverEvents(true);
setAcceptTouchEvents(true);
......
......@@ -399,8 +399,6 @@ protected:
virtual void updateFont();
virtual void updatePalette();
KItemListSizeHintResolver* m_sizeHintResolver;
protected Q_SLOTS:
virtual void slotItemsInserted(const KItemRangeList& itemRanges);
virtual void slotItemsRemoved(const KItemRangeList& itemRanges);
......@@ -774,6 +772,8 @@ private:
QList<QVariantAnimation*> m_rubberBandAnimations;
KItemListSizeHintResolver* m_sizeHintResolver;
friend class KItemListContainer; // Accesses scrollBarRequired()
friend class KItemListHeader; // Accesses m_headerWidget
friend class KItemListController;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment