make them const
This commit is contained in:
parent
dfe7f46bb7
commit
5cd8680f74
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ public:
|
||||||
inline const ustring& label() const { return _label; }
|
inline const ustring& label() const { return _label; }
|
||||||
inline const bool& isDefault() const { return _default; }
|
inline const bool& isDefault() const { return _default; }
|
||||||
|
|
||||||
bool operator==(const DialogButton &o) { return _label == o._label; }
|
bool operator==(const DialogButton &o) const { return _label == o._label; }
|
||||||
bool operator!=(const DialogButton &o) { return !(_label == o._label); }
|
bool operator!=(const DialogButton &o) const { return!(_label == o._label); }
|
||||||
};
|
};
|
||||||
|
|
||||||
class MessageDialog : public Widget {
|
class MessageDialog : public Widget {
|
||||||
|
|
Loading…
Reference in a new issue