Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
Enable shortcuts with buttons invisible (#1580) (#1800)
* Make `ShortcutsWidget` load all shortcuts `ShortcutsWidget" now loads shortcuts for all capture widgets, regardless of enabled state in 'Interface settings'. Also removed unnecessary indirection which made the API confusing: - Removed `ConfigHandler::setShortcutsDefault` which was only called once on a temporary `ConfigHandler` and hence had no effect - Removed function `ConfigHandler::shortcuts` - `ShortcutsWidget` now calls `ConfigShortcuts::captureShortcutsDefault` directly instead of through `ConfigHandler::shortcuts` Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Enable shortcuts for hidden buttons Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * Fix crash if ButtonHandler has no buttons Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com> * obligatory clang-format Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
H
Haris Gušić committed
1c4f3bdb391226372ca45f0393dc7c68a9352d8d
Parent: 852b8c3
Committed by GitHub <noreply@github.com>
on 8/4/2021, 4:03:19 PM