Implement searching in rooms
BUG: 457839
This commit is contained in:
@@ -111,6 +111,23 @@ Kirigami.OverlayDrawer {
|
||||
text: devtoolsButton.text
|
||||
}
|
||||
}
|
||||
QQC2.ToolButton {
|
||||
id: searchButton
|
||||
|
||||
Layout.alignment: Qt.AlignRight
|
||||
icon.name: "search"
|
||||
text: i18n("Search in this room")
|
||||
display: QQC2.AbstractButton.IconOnly
|
||||
visible: Controller.quotientMinorVersion > 6
|
||||
|
||||
onClicked: {
|
||||
pageStack.pushDialogLayer("qrc:/SearchPage.qml", {
|
||||
currentRoom: room
|
||||
}, {
|
||||
title: i18nc("@action:title", "Search")
|
||||
})
|
||||
}
|
||||
}
|
||||
QQC2.ToolButton {
|
||||
id: inviteButton
|
||||
|
||||
|
||||
Reference in New Issue
Block a user