QEventDispatcherUNIX: Remove unused mainThread member variable

Change-Id: I400c3fc7430c2a7d273325a03ba3499369d30a4f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Louai Al-Khanji 2015-12-03 10:46:47 -08:00
parent a4f849ff8c
commit 6b1dc2641e
2 changed files with 0 additions and 4 deletions

View File

@ -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

View File

@ -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];