[*] We're always main (again) (fuck off)

Change-Id: I3761ef75736057ae5134e4d44275f9094227e3ed
This commit is contained in:
Reece Wilson 2023-12-11 18:47:33 +00:00
parent c37f6d7e03
commit e0d35bff27

View File

@ -459,8 +459,7 @@ QCoreApplicationPrivate::QCoreApplicationPrivate(int &aargc, char **aargv)
# endif // Q_OS_UNIX
QThread *cur = QThread::currentThread(); // note: this may end up setting theMainThread!
if (cur != theMainThread.loadAcquire())
qWarning("WARNING: QApplication was not created in the main() thread.");
theMainThread.storeRelease(cur);
#endif
}