QHttpSocketEngine: remove unused members

Change-Id: I136070100589993dcccf44666851c94d0fd30b1f
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Markus Goetz (Woboq GmbH) <markus@woboq.com>
This commit is contained in:
Alex Trotsenko 2015-11-19 20:02:54 +02:00
parent 0c9b4c84ad
commit bdf49888ef
2 changed files with 0 additions and 6 deletions

View File

@ -768,7 +768,6 @@ void QHttpSocketEngine::emitPendingConnectionNotification()
void QHttpSocketEngine::emitReadNotification() void QHttpSocketEngine::emitReadNotification()
{ {
Q_D(QHttpSocketEngine); Q_D(QHttpSocketEngine);
d->readNotificationActivated = true;
// if there is a connection notification pending we have to emit the readNotification // if there is a connection notification pending we have to emit the readNotification
// incase there is connection error. This is only needed for Windows, but it does not // incase there is connection error. This is only needed for Windows, but it does not
// hurt in other cases. // hurt in other cases.
@ -781,7 +780,6 @@ void QHttpSocketEngine::emitReadNotification()
void QHttpSocketEngine::emitWriteNotification() void QHttpSocketEngine::emitWriteNotification()
{ {
Q_D(QHttpSocketEngine); Q_D(QHttpSocketEngine);
d->writeNotificationActivated = true;
if (d->writeNotificationEnabled && !d->writeNotificationPending) { if (d->writeNotificationEnabled && !d->writeNotificationPending) {
d->writeNotificationPending = true; d->writeNotificationPending = true;
QMetaObject::invokeMethod(this, "emitPendingWriteNotification", Qt::QueuedConnection); QMetaObject::invokeMethod(this, "emitPendingWriteNotification", Qt::QueuedConnection);
@ -801,8 +799,6 @@ QHttpSocketEnginePrivate::QHttpSocketEnginePrivate()
: readNotificationEnabled(false) : readNotificationEnabled(false)
, writeNotificationEnabled(false) , writeNotificationEnabled(false)
, exceptNotificationEnabled(false) , exceptNotificationEnabled(false)
, readNotificationActivated(false)
, writeNotificationActivated(false)
, readNotificationPending(false) , readNotificationPending(false)
, writeNotificationPending(false) , writeNotificationPending(false)
, connectionNotificationPending(false) , connectionNotificationPending(false)

View File

@ -172,8 +172,6 @@ public:
bool readNotificationEnabled; bool readNotificationEnabled;
bool writeNotificationEnabled; bool writeNotificationEnabled;
bool exceptNotificationEnabled; bool exceptNotificationEnabled;
bool readNotificationActivated;
bool writeNotificationActivated;
bool readNotificationPending; bool readNotificationPending;
bool writeNotificationPending; bool writeNotificationPending;
bool connectionNotificationPending; bool connectionNotificationPending;