Skip to content

KItemList: fix warnings

Méven Car requested to merge (removed):fix-warnings into master
/home/meven/kde/src/dolphin/src/kitemviews/kitemlistview.h: In constructor ‘KItemListView::KItemListView(QGraphicsWidget*)’:
/home/meven/kde/src/dolphin/src/kitemviews/kitemlistview.h:743:22: warning: ‘KItemListView::m_visibleCells’ will be initialized after [-Wreorder]
  743 |     QHash<int, Cell> m_visibleCells;
      |                      ^~~~~~~~~~~~~~
/home/meven/kde/src/dolphin/src/kitemviews/kitemlistview.h:402:32: warning:   ‘KItemListSizeHintResolver* KItemListView::m_sizeHintResolver’ [-Wreorder]
  402 |     KItemListSizeHintResolver* m_sizeHintResolver;
      |                                ^~~~~~~~~~~~~~~~~~
/home/meven/kde/src/dolphin/src/kitemviews/kitemlistview.cpp:62:1: warning:   when initialized here [-Wreorder]
   62 | KItemListView::KItemListView(QGraphicsWidget* parent) :
      | ^~~~~~~~~~~~~

Merge request reports

Loading