diff --git a/components/custom/SplitterRow.qml b/components/custom/SplitterRow.qml
index 8990a0d95a5087f53455a94b15903003d4077093..b4d9c07a3bb2ec43741bc04b1472b445f5656bac 100644
--- a/components/custom/SplitterRow.qml
+++ b/components/custom/SplitterRow.qml
@@ -158,26 +158,6 @@ Item {
             return w
         }
 
-        function updateExpandingIndex(newIndex) {
-            // Only one item can be expanding, so clear the rest:
-            for (var i=0; i<items.length; ++i) {
-                var item = items[i]
-                if (item.expanding && item.expanding === true) {
-                    if (d.expandingIndex === -1) {
-                        // First expanding found. Use it, and clear
-                        // all other
-                        d.expandingIndex = i
-                    } else {
-                        item.expanding = false
-                    }
-                }
-            }
-            d.expandingIndex = (newIndex === -1) ? (root.items.length-1) : newIndex
-            item = root.items[d.expandingIndex]
-            if (item.expanding != undefined && item.expanding !== true)
-                item.expanding = true
-        }
-
         function updateLayout()
         {
             if (items.length === 0)
diff --git a/examples/SplitterGallery.qml b/examples/SplitterGallery.qml
index fa6f90cf15f07dffc1238e0af825f09bceb872a0..966ef68763fd160a01885f98a360c1734a20fde6 100644
--- a/examples/SplitterGallery.qml
+++ b/examples/SplitterGallery.qml
@@ -11,7 +11,7 @@ Rectangle {
         anchors.fill: parent
 
         Rectangle {
-            property bool expanding: true
+            property bool expanding: false
             property real minimumWidth: 100
             color: "gray"
             width: 200