summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobject_p.h
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-10-18 13:26:02 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-10-28 21:05:52 +0200
commit538d5bdf662f4198a2d6c38a6002abb81433fb29 (patch)
tree2367e5268f78e04c4ee0a61178e1af4792946242 /src/corelib/kernel/qobject_p.h
parentc33d8bfc996cb52d3b9d5b821e51860347c74fa2 (diff)
Add a getter for QObjectPrivate::threadData
Strictly a temporary measure to deal with cross-module merges. Change-Id: I344bb3f20f68f04367041834e608669122ff70b1 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qobject_p.h')
-rw-r--r--src/corelib/kernel/qobject_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qobject_p.h b/src/corelib/kernel/qobject_p.h
index feafcaf323..45fc27917d 100644
--- a/src/corelib/kernel/qobject_p.h
+++ b/src/corelib/kernel/qobject_p.h
@@ -374,6 +374,7 @@ public:
}
public:
ExtraData *extraData; // extra data set by the user
+ QThreadData *getThreadData() const { return threadData; }
QThreadData *threadData; // id of the thread that owns the object
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>;