Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit f49ca6ee authored by Eike Hein's avatar Eike Hein

Don't busy-loop in preview popups.

Regression from 20ba491c.
CCMAIL:zrenfire@gmail.com
parent bc684c74
......@@ -531,7 +531,7 @@ Item {
cellWidth: {
if (root.useListViewMode) {
return gridView.width;
} else if (root.isContainment) {
} else if (root.isContainment && isRootView) {
return iconWidth + extraWidth;
} else {
return iconWidth;
......@@ -545,7 +545,7 @@ Item {
return Math.ceil((Math.max(theme.mSize(theme.defaultFont).height, iconSize)
+ Math.max(highlightItemSvg.margins.top + highlightItemSvg.margins.bottom,
listItemSvg.margins.top + listItemSvg.margins.bottom)) / 2) * 2;
} else if (root.isContainment) {
} else if (root.isContainment && isRootView) {
return iconHeight + extraHeight;
} else {
return iconHeight;
......
Markdown is supported
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