mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Merge branch 'Applications/18.04'
This commit is contained in:
commit
eed695710d
|
@ -51,15 +51,15 @@ KStandardItemListWidgetInformant::~KStandardItemListWidgetInformant()
|
|||
void KStandardItemListWidgetInformant::calculateItemSizeHints(QVector<qreal>& logicalHeightHints, qreal& logicalWidthHint, const KItemListView* view) const
|
||||
{
|
||||
switch (static_cast<const KStandardItemListView*>(view)->itemLayout()) {
|
||||
case KStandardItemListWidget::IconsLayout:
|
||||
case KStandardItemListView::IconsLayout:
|
||||
calculateIconsLayoutItemSizeHints(logicalHeightHints, logicalWidthHint, view);
|
||||
break;
|
||||
|
||||
case KStandardItemListWidget::CompactLayout:
|
||||
case KStandardItemListView::CompactLayout:
|
||||
calculateCompactLayoutItemSizeHints(logicalHeightHints, logicalWidthHint, view);
|
||||
break;
|
||||
|
||||
case KStandardItemListWidget::DetailsLayout:
|
||||
case KStandardItemListView::DetailsLayout:
|
||||
calculateDetailsLayoutItemSizeHints(logicalHeightHints, logicalWidthHint, view);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue