summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/nodes/qnode.cpp2
-rw-r--r--src/core/nodes/qnode.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nodes/qnode.cpp b/src/core/nodes/qnode.cpp
index a9ccd29ba..9b718da4b 100644
--- a/src/core/nodes/qnode.cpp
+++ b/src/core/nodes/qnode.cpp
@@ -651,7 +651,7 @@ QNode::~QNode()
/*!
Returns the id that uniquely identifies the QNode instance.
*/
-const QNodeId QNode::id() const
+QNodeId QNode::id() const
{
Q_D(const QNode);
return d->m_id;
diff --git a/src/core/nodes/qnode.h b/src/core/nodes/qnode.h
index 5107b3aa8..697fcc903 100644
--- a/src/core/nodes/qnode.h
+++ b/src/core/nodes/qnode.h
@@ -73,7 +73,7 @@ public:
explicit QNode(QNode *parent = nullptr);
virtual ~QNode();
- const QNodeId id() const;
+ QNodeId id() const;
QNode *parentNode() const;
bool notificationsBlocked() const;