diff options
Diffstat (limited to 'src/gui/focushandler.h')
-rw-r--r-- | src/gui/focushandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/focushandler.h b/src/gui/focushandler.h index 58b317024..99ba45094 100644 --- a/src/gui/focushandler.h +++ b/src/gui/focushandler.h @@ -97,7 +97,7 @@ class FocusHandler final * @param widget The widget to request focus for. * @see isFocused, Widget::requestFocus */ - void requestFocus(Widget *const widget); + void requestFocus(const Widget *const widget); /** * Requests modal focus for a widget. Focus will only be granted @@ -144,7 +144,7 @@ class FocusHandler final * @param widget the widget to release modal mouse input focus for. * @see requestModalMouseInputFocus, Widget::releaseModalMouseInputFocus */ - void releaseModalMouseInputFocus(Widget *const widget); + void releaseModalMouseInputFocus(const Widget *const widget); /** * Checks if a widget is focused. |