mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
KItemList: fix warnings
NO_CHANGELOG
This commit is contained in:
parent
2e333e1b97
commit
47014b26b8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue