From db63661b8daf25d039401ecd60b463b813f98716 Mon Sep 17 00:00:00 2001 From: Krzysztof Date: Fri, 11 Aug 2023 13:26:32 +0200 Subject: [PATCH] style: Remove commented out code --- package/contents/ui/StreamView.qml | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/package/contents/ui/StreamView.qml b/package/contents/ui/StreamView.qml index fb32103..4e9fbd6 100644 --- a/package/contents/ui/StreamView.qml +++ b/package/contents/ui/StreamView.qml @@ -64,34 +64,6 @@ FocusScope { PlasmaComponents3.ScrollView { anchors.fill: parent focus: true - - /*ListView { - id: listView - currentIndex: -1 - clip: true - focus: true - model: stream.articles - spacing: PlasmaCore.Units.smallSpacing - boundsBehavior: Flickable.StopAtBounds - highlight: PlasmaComponents.Highlight {} - highlightMoveDuration: PlasmaCore.Units.shortDuration - header: stream.unreadNewCount ? newArticlesButton : null - footer: stream.hasContinuation ? fetchMoreButton : null - delegate: PlasmaComponents.ListItem { - id: wrapper - width: ListView.view.width - enabled: true - opacity: model.read ? 0.6 : 1 - onContainsMouseChanged: listView.currentIndex = index - onClicked: selected(model) - Keys.onReturnPressed: clicked() - content: Loader { - source: `ItemDelegate${plasmoid.configuration.viewStyle}.qml` - width: parent.width - } - property bool isCurrentItem: ListView.isCurrentItem - } - }*/ GridView { readonly property var cellSizes: viewMinSizeMap[plasmoid.configuration.viewStyle]