diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-07-07 10:23:31 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-07-07 11:40:25 +0000 |
commit | a13398d0f060bbfa482cfe411061ece6e07d2b7e (patch) | |
tree | b4f07a429979b09106669efced451db79db64ddb /src/gui/kernel/qevent.h | |
parent | 753aed83c6568d3a6e3b7c653ed5782bf93cd214 (diff) | |
download | qtbase-a13398d0f060bbfa482cfe411061ece6e07d2b7e.tar.gz |
QPointerUniqueId::numeric() is const
Obviously it returns a copy of the number, and anyone who has a
const QPointerUniqueId variable will need this accessor to be const.
Change-Id: Ib224a4dfca5d0f71f2fa4f6f6197b2fb2cdb9410
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/gui/kernel/qevent.h')
-rw-r--r-- | src/gui/kernel/qevent.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |