it allows to set a icon to the globaldrawer handle, for that both close and open handle icons need to be set
FEATURE: 405598
FIXED-IN: 5.62
mart |
Kirigami |
it allows to set a icon to the globaldrawer handle, for that both close and open handle icons need to be set
FEATURE: 405598
FIXED-IN: 5.62
No Linters Available |
No Unit Test Coverage |
Buildable 15094 | |
Build 15112: arc lint + arc unit |
src/controls/OverlayDrawer.qml | ||
---|---|---|
111 | you can write it more compact and avoid code duplication, you can do: if (root.handleClosedIcon.source && root.handleOpenIcon.source) { return Qt.resolvedUrl("templates/private/GenericDrawerIcon.qml"); } else if (edge ==Qt.LeftEdge ) { return Qt.resolvedUrl("templates/private/MenuIcon.qml"); } else if()... | |
113 | also, coding style if () { |