Make member pointers const when possible
This commit is contained in:
parent
053d427bc2
commit
998fb6bd89
|
@ -21,9 +21,9 @@ private:
|
||||||
Q_DISABLE_COPY(QtMaterialAutoCompleteStateMachine)
|
Q_DISABLE_COPY(QtMaterialAutoCompleteStateMachine)
|
||||||
|
|
||||||
QWidget *const m_menu;
|
QWidget *const m_menu;
|
||||||
QState *m_closedState;
|
QState *const m_closedState;
|
||||||
QState *m_openState;
|
QState *const m_openState;
|
||||||
QState *m_closingState;
|
QState *const m_closingState;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // QTMATERIALAUTOCOMPLETESTATEMACHINE_H
|
#endif // QTMATERIALAUTOCOMPLETESTATEMACHINE_H
|
||||||
|
|
|
@ -21,8 +21,8 @@ private:
|
||||||
Q_DISABLE_COPY(QtMaterialScrollBarStateMachine)
|
Q_DISABLE_COPY(QtMaterialScrollBarStateMachine)
|
||||||
|
|
||||||
QtMaterialScrollBar *const m_scrollBar;
|
QtMaterialScrollBar *const m_scrollBar;
|
||||||
QState *m_focusState;
|
QState *const m_focusState;
|
||||||
QState *m_blurState;
|
QState *const m_blurState;
|
||||||
qreal m_opacity;
|
qreal m_opacity;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue