on xenial help sign in
qDebug--
a2b89c4Albert Astals
plugins/DashViews/listviewwithpageheader.cpp−1
@@ -371,7 +371,6 @@ void ListViewWithPageHeader::positionAtBeginning()
371 // in viewportMoved() should be enough but in some cases we have not found a way to reproduce
371 // in viewportMoved() should be enough but in some cases we have not found a way to reproduce
372 // yet the code of viewportMoved() fails so here we make sure that at least if we are calling
372 // yet the code of viewportMoved() fails so here we make sure that at least if we are calling
373 // positionAtBeginning the header item will be correctly positioned
373 // positionAtBeginning the header item will be correctly positioned
374− qDebug() << (-m_minYExtent) << (m_visibleItems.first()->y() + m_clipItem->y() - headerHeight);
375 m_headerItem->setY(-m_minYExtent);
374 m_headerItem->setY(-m_minYExtent);
376 }
375 }
377}
376}