summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qproperty.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2020-08-13 10:24:45 +0200
committerLars Knoll <lars.knoll@qt.io>2020-08-28 22:31:28 +0200
commit4294e82fe921105bfe137595394705f1c6b16904 (patch)
tree8fe0b2447c7a9e866cf4da00dd8c8da2b25142b4 /src/corelib/kernel/qproperty.h
parent9d2b43de19eebc836683e00ca0516a59cb6abe5d (diff)
Add const to some methods
Change-Id: I60e93e0c9b57468ef4188bdb60a32fb9ac9046e1 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/corelib/kernel/qproperty.h')
-rw-r--r--src/corelib/kernel/qproperty.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qproperty.h b/src/corelib/kernel/qproperty.h
index 1064180c27..1c2aede856 100644
--- a/src/corelib/kernel/qproperty.h
+++ b/src/corelib/kernel/qproperty.h
@@ -597,7 +597,7 @@ protected:
}
private:
- void setSource(QtPrivate::QPropertyBase &property);
+ void setSource(const QtPrivate::QPropertyBase &property);
QTaggedPointer<QPropertyObserver, ObserverTag> next;
// prev is a pointer to the "next" element within the previous node, or to the "firstObserverPtr" if it is the