QEventDispatcherUNIX: Remove unused mainThread member variable
Change-Id: I400c3fc7430c2a7d273325a03ba3499369d30a4f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>bb10
parent
a4f849ff8c
commit
6b1dc2641e
|
|
@ -87,8 +87,6 @@ static void initThreadPipeFD(int fd)
|
|||
|
||||
QEventDispatcherUNIXPrivate::QEventDispatcherUNIXPrivate()
|
||||
{
|
||||
extern Qt::HANDLE qt_application_thread_id;
|
||||
mainThread = (QThread::currentThreadId() == qt_application_thread_id);
|
||||
bool pipefail = false;
|
||||
|
||||
// initialize the common parts of the event loop
|
||||
|
|
|
|||
|
|
@ -137,8 +137,6 @@ public:
|
|||
virtual int initThreadWakeUp() Q_DECL_FINAL;
|
||||
virtual int processThreadWakeUp(int nsel) Q_DECL_FINAL;
|
||||
|
||||
bool mainThread;
|
||||
|
||||
// note for eventfd(7) support:
|
||||
// if thread_pipe[1] is -1, then eventfd(7) is in use and is stored in thread_pipe[0]
|
||||
int thread_pipe[2];
|
||||
|
|
|
|||
Loading…
Reference in New Issue