Verified Commit 1d68bc11 authored by Luca Beltrame's avatar Luca Beltrame
Browse files

Revert "Save layouts per-resolution"

This reverts commit 1390b551.

At least this prevents plasmashell from crashing until a solution is

CCBUG: 436041
parent ad162723
......@@ -277,9 +277,7 @@ FolderViewDropArea {
id: appletsLayout
anchors.fill: parent
// NOTE: use plasmoid.availableScreenRect and not own width and height as they are updated not atomically
configKey: "ItemGeometries-" + Math.round(plasmoid.screenGeometry.width) + "x" + Math.round(plasmoid.screenGeometry.height)
fallbackConfigKey: plasmoid.availableScreenRect.width > plasmoid.availableScreenRect.height ? "ItemGeometriesHorizontal" : "ItemGeometriesVertical"
configKey: plasmoid.availableScreenRect.width > plasmoid.availableScreenRect.height ? "ItemGeometriesHorizontal" : "ItemGeometriesVertical"
containment: plasmoid
editModeCondition: plasmoid.immutable
? ContainmentLayoutManager.AppletsLayout.Locked
Supports Markdown
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