summaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/BoardPage.qml15
1 files changed, 15 insertions, 0 deletions
diff --git a/qml/BoardPage.qml b/qml/BoardPage.qml
index ca988f3..63df29e 100644
--- a/qml/BoardPage.qml
+++ b/qml/BoardPage.qml
@@ -27,6 +27,21 @@ Page {
}
}
}
+ ToolIcon {
+ platformIconId: "toolbar-view-menu"
+ onClicked: (boardMenu.status === DialogStatus.Closed) ? boardMenu.open() : boardMenu.close()
+ }
+ }
+
+ Menu {
+ id: boardMenu
+ MenuLayout {
+ MenuItem {
+ text: boardPage.forumId == 0 ? qsTr("Mark all forums read") : qsTr("Mark subforums read");
+ onClicked: boardModel.markSubforumsRead();
+ }
+ }
+
}
ListView {