mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* Painter::isDrawingEnabled():
- make the method const - delete the const on return value because they are not really mandatory for POD (Plain Old Data) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15617 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
662974406a
commit
7a4c86b184
@ -175,7 +175,7 @@ protected:
|
||||
virtual void buttonFrame(int x, int y, int w, int h);
|
||||
|
||||
/// Indicate wether real screen drawing shall be done or not.
|
||||
bool const isDrawingEnabled() { return drawing_enabled_; }
|
||||
bool isDrawingEnabled() const { return drawing_enabled_; }
|
||||
|
||||
private:
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user