diff --git a/components/qtmaterialautocomplete_internal.h b/components/qtmaterialautocomplete_internal.h index 3eae5be..7e76bd5 100644 --- a/components/qtmaterialautocomplete_internal.h +++ b/components/qtmaterialautocomplete_internal.h @@ -21,9 +21,9 @@ private: Q_DISABLE_COPY(QtMaterialAutoCompleteStateMachine) QWidget *const m_menu; - QState *m_closedState; - QState *m_openState; - QState *m_closingState; + QState *const m_closedState; + QState *const m_openState; + QState *const m_closingState; }; #endif // QTMATERIALAUTOCOMPLETESTATEMACHINE_H diff --git a/components/qtmaterialscrollbar_internal.h b/components/qtmaterialscrollbar_internal.h index adffdbd..7b1cc92 100644 --- a/components/qtmaterialscrollbar_internal.h +++ b/components/qtmaterialscrollbar_internal.h @@ -21,8 +21,8 @@ private: Q_DISABLE_COPY(QtMaterialScrollBarStateMachine) QtMaterialScrollBar *const m_scrollBar; - QState *m_focusState; - QState *m_blurState; + QState *const m_focusState; + QState *const m_blurState; qreal m_opacity; };