Browse Source

Remove stale Vertical delegate

Change-Id: I94f9625b2ec2a82dbb759db44bf26b1ef076d649
Donald Carr 9 years ago
parent
commit
cb5b8bbd06
4 changed files with 1 additions and 10 deletions
  1. 1 1
      qml/Gravity.qml
  2. 0 7
      qml/VerticalArtDelegate.qml
  3. 0 1
      qml/main.qml
  4. 0 1
      qml/qml.qrc

+ 1 - 1
qml/Gravity.qml

@@ -8,7 +8,7 @@ Item {
     signal toggleChaos
     signal next
 
-    property var pictureDelegate: Qt.createComponent(settings.fitByHeight ? "VerticalArtDelegate.qml" : "HorizontalArtDelegate.qml")
+    property var pictureDelegate: Qt.createComponent("HorizontalArtDelegate.qml")
 
     anchors.fill: parent
 

+ 0 - 7
qml/VerticalArtDelegate.qml

@@ -1,7 +0,0 @@
-import QtQuick 2.5
-
-ArtDelegate {
-    height: parent.height/settings.columnCount
-    width: implicitWidth/implicitHeight*height
-    x: parent.effectiveXOffset + (parent.width - width)/2
-}

+ 0 - 1
qml/main.qml

@@ -15,7 +15,6 @@ Window {
         property int itemTravel: 1
         property int columnCount: 30
         property int interval: 2
-        property bool fitByHeight: false
         property double pace: 1.0
         property bool viewItemCount: false
         property bool globalWorld: false

+ 0 - 1
qml/qml.qrc

@@ -4,7 +4,6 @@
         <file>ArtDelegate.qml</file>
         <file>ImageBoxBody.qml</file>
         <file>RectangleBoxBody.qml</file>
-        <file>VerticalArtDelegate.qml</file>
         <file>HorizontalArtDelegate.qml</file>
         <file>Gravity.qml</file>
         <file>Ticker.qml</file>