summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2014-03-02 00:31:12 +0000
committerMarkus Engel <markus.engel@tum.de>2014-03-02 00:31:12 +0000
commit3aa344e9a40d97db7cd5a89671896bab70da33a4 (patch)
tree1ea673a167ac9d121b64689c084383791bddf65a /src/shape-editor.cpp
parentFix for crash when cycle-selecting. (diff)
downloadinkscape-3aa344e9a40d97db7cd5a89671896bab70da33a4.tar.gz
inkscape-3aa344e9a40d97db7cd5a89671896bab70da33a4.zip
Added some consts. Turned functions to member functions.
(bzr r13089)
Diffstat (limited to 'src/shape-editor.cpp')
-rw-r--r--src/shape-editor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index 59d43f24c..bf53e8bc3 100644
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
@@ -235,11 +235,11 @@ bool ShapeEditor::has_selection() {
/**
* Returns true if this ShapeEditor has a knot above which the mouse currently hovers.
*/
-bool ShapeEditor::knot_mouseover()
-{
+bool ShapeEditor::knot_mouseover() const {
if (this->knotholder) {
return knotholder->knot_mouseover();
}
+
return false;
}