From 70ff68b5804a2d4a69f8fd36ca4fa5272a134c26 Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Sun, 14 Oct 2012 14:34:46 +0200 Subject: [PATCH] Inset::setMouseHover() is const - InsetExternal::setMouseHover should be const too --- src/insets/InsetExternal.cpp | 2 +- src/insets/InsetExternal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/insets/InsetExternal.cpp b/src/insets/InsetExternal.cpp index ea51664978..c0f7225664 100644 --- a/src/insets/InsetExternal.cpp +++ b/src/insets/InsetExternal.cpp @@ -392,7 +392,7 @@ InsetExternal::~InsetExternal() } -bool InsetExternal::setMouseHover(BufferView const * bv, bool mouse_hover) +bool InsetExternal::setMouseHover(BufferView const * bv, bool mouse_hover) const { mouse_hover_[bv] = mouse_hover; return true; diff --git a/src/insets/InsetExternal.h b/src/insets/InsetExternal.h index fba0e7406b..bbe2162fec 100644 --- a/src/insets/InsetExternal.h +++ b/src/insets/InsetExternal.h @@ -113,7 +113,7 @@ public: /// std::string contextMenuName() const; /// - bool setMouseHover(BufferView const * bv, bool mouse_hover); + bool setMouseHover(BufferView const * bv, bool mouse_hover) const; /// bool clickable(int, int) const { return true; } private: -- 2.39.2