Get rid of the getter for QObjectPrivate::threadData

The dependent changes have now landed.

Change-Id: I502377ab5603d67ada9e5577de1abfccdfa0fa09
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Giuseppe D'Angelo 2019-10-18 14:15:40 +02:00
parent 4e04132264
commit abbdd634cd
1 changed files with 0 additions and 1 deletions

View File

@ -374,7 +374,6 @@ public:
}
public:
ExtraData *extraData; // extra data set by the user
QThreadData *getThreadData() const { return threadData.loadAcquire(); }
// This atomic requires acquire/release semantics in a few places,
// e.g. QObject::moveToThread must synchronize with QCoreApplication::postEvent,
// because postEvent is thread-safe.