summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qevent.cpp2
-rw-r--r--src/gui/kernel/qevent.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 6adbea6da6..47c1f91fb0 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -5189,7 +5189,7 @@ QPointerUniqueId::QPointerUniqueId(qint64 id)
This is the numeric unique ID if the device provides that type of ID;
otherwise it is -1.
*/
-qint64 QPointerUniqueId::numeric()
+qint64 QPointerUniqueId::numeric() const
{
return m_numericId;
}
diff --git a/src/gui/kernel/qevent.h b/src/gui/kernel/qevent.h
index 8d89d8521f..fb8a49b1c6 100644
--- a/src/gui/kernel/qevent.h
+++ b/src/gui/kernel/qevent.h
@@ -799,7 +799,7 @@ class Q_GUI_EXPORT QPointerUniqueId
public:
explicit QPointerUniqueId(qint64 id = -1);
- qint64 numeric();
+ qint64 numeric() const;
private:
// TODO for TUIO 2, or any other type of complex token ID, a d-pointer can replace