From 35cf23dc95a9ded6a61a1976df89c9187c1f274f Mon Sep 17 00:00:00 2001 From: restitux Date: Wed, 24 Aug 2022 21:35:40 -0400 Subject: [PATCH] Remove unused commented out code --- layouts/components/ContentViewElement.qml | 4 -- layouts/ikinuki-default.qml | 72 ----------------------- 2 files changed, 76 deletions(-) diff --git a/layouts/components/ContentViewElement.qml b/layouts/components/ContentViewElement.qml index c9b4457..69badce 100644 --- a/layouts/components/ContentViewElement.qml +++ b/layouts/components/ContentViewElement.qml @@ -24,8 +24,6 @@ Column { Row { Repeater { property var provider: modelData - //property var yIndex: index - //id: inProgressRepeater model: repeaterModel Row{ Item { @@ -34,7 +32,6 @@ Column { } Column { id: showColumn - //property var show: inProgressRepeater.provider.getShow(modelData) property var show: provider.getShow(modelData) Item { property int childHeight: 300 @@ -67,7 +64,6 @@ Column { PropertyChanges { target: rect border.width: 0 - //visible: false } }, State { diff --git a/layouts/ikinuki-default.qml b/layouts/ikinuki-default.qml index cba06ba..f672d7e 100644 --- a/layouts/ikinuki-default.qml +++ b/layouts/ikinuki-default.qml @@ -1,11 +1,8 @@ -//import QtQuick 2.0 -//import QtQuick.Controls 2.15 import QtQuick 2.12 import QtQuick.Layouts 1.12 import QtQuick.Controls 2.12 import QtQuick.Controls.Imagine 2.12 import QtQuick.Window 2.0 -//import mpvtest 1.0 import Ikinuki.Client 1.0 @@ -53,72 +50,3 @@ ApplicationWindow { } } } - - - - - //Width: 1280 - //height: 720 - -// MpvObject { -// id: renderer -// anchors.fill: parent -// -// MouseArea { -// anchors.fill: parent -// onClicked: renderer.play("./matroska-test-files/test_files/test1.mkv") -// } -// } - - //Rectangle { - // id: labelFrame - // anchors.margins: -50 - // radius: 5 - // color: "white" - // border.color: "black" - // opacity: 0.8 - // anchors.fill: box - //} - - //Row { - // id: box - // anchors.bottom: renderer.bottom - // anchors.left: renderer.left - // anchors.right: renderer.right - // anchors.margins: 100 - - // Text { - // anchors.margins: 10 - // wrapMode: Text.WordWrap - // text: "QtQuick and mpv are both rendering stuff.\n - // Click to load test.mkv" - // } - - // // Don't take these controls too seriously. They're for testing. - // Column { - // CheckBox { - // id: checkbox - // anchors.margins: 10 - // // Heavily filtered means good, right? - // text: "Make video look like on a Smart TV" - // onClicked: { - // if (checkbox.checked) { - // renderer.setProperty("sharpen", 5.0) - // } else { - // renderer.setProperty("sharpen", 0) - // } - // } - // } - // Slider { - // id: slider - // anchors.margins: 10 - // anchors.left: checkbox.left - // anchors.right: checkbox.right - // minimumValue: -100 - // maximumValue: 100 - // value: 0 - // onValueChanged: renderer.setProperty("gamma", slider.value | 0) - // } - // } - //} -//}