Make member pointers const when possible

This commit is contained in:
Johannes Hilden 2017-10-16 23:13:14 +03:00
parent 053d427bc2
commit 998fb6bd89
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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;
};