make getStyleOption protected
This commit is contained in:
parent
28b063e591
commit
9e710035f4
|
@ -24,10 +24,15 @@ protected:
|
|||
void enterEvent(QEvent *event) Q_DECL_OVERRIDE;
|
||||
void leaveEvent(QEvent *event) Q_DECL_OVERRIDE;
|
||||
|
||||
private:
|
||||
inline void updateOverlayGeometry() { if (_overlay) { _overlay->setGeometry(rect()); } }
|
||||
QStyleOptionButton getStyleOption() const;
|
||||
|
||||
private:
|
||||
inline void updateOverlayGeometry()
|
||||
{
|
||||
if (_overlay)
|
||||
_overlay->setGeometry(rect());
|
||||
}
|
||||
|
||||
RippleOverlay *const _overlay;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue