From eb11e7a13a3ba27823c0a14d10038aec534ab84f Mon Sep 17 00:00:00 2001 From: miruka Date: Tue, 27 Aug 2019 19:50:24 -0400 Subject: [PATCH] Disable invite and room sidepane expand icon Their functions are not implemented yet. --- TODO.md | 1 + src/qml/Chat/RoomHeader.qml | 1 + src/qml/Chat/RoomSidePane/MembersView.qml | 1 + 3 files changed, 3 insertions(+) diff --git a/TODO.md b/TODO.md index 08b61d3c..abb61d88 100644 --- a/TODO.md +++ b/TODO.md @@ -6,6 +6,7 @@ - Make all icon SVG files white/black, since we can now use ColorOverlay - Make the icon blue in EditAccount when hovering and no avatar set - Remove the filled theme + - Have a default background - Use [Animators](https://doc.qt.io/qt-5/qml-qtquick-animator.html) - Choose a better default easing type for animations diff --git a/src/qml/Chat/RoomHeader.qml b/src/qml/Chat/RoomHeader.qml index 0cae953d..e4b98ce2 100644 --- a/src/qml/Chat/RoomHeader.qml +++ b/src/qml/Chat/RoomHeader.qml @@ -103,6 +103,7 @@ HRectangle { anchors.right: parent.right opacity: collapseButtons ? 1 : 0 visible: opacity > 0 + enabled: false // TODO backgroundColor: "transparent" icon.name: "reduced-room-buttons" diff --git a/src/qml/Chat/RoomSidePane/MembersView.qml b/src/qml/Chat/RoomSidePane/MembersView.qml index f3ad09a5..e7612ded 100644 --- a/src/qml/Chat/RoomSidePane/MembersView.qml +++ b/src/qml/Chat/RoomSidePane/MembersView.qml @@ -57,6 +57,7 @@ HColumnLayout { } HButton { + enabled: false // TODO icon.name: "room-send-invite" iconItem.dimension: parent.height - 10 topPadding: 0