QtNetwork: Fix mingw-warnings.

Constructor order, use Q_OS_WIN.

Change-Id: Ie45aa9c3aed45437feb66d8ddcfb22530c441435
Reviewed-by: Shane Kearns <shane.kearns@accenture.com>
bb10
Friedemann Kleint 2012-05-21 15:35:58 +02:00 committed by Qt by Nokia
parent 3ec08bff24
commit 6ee1c645ac
2 changed files with 4 additions and 4 deletions

View File

@ -339,12 +339,12 @@ public:
QAuthenticatorPrivate::QAuthenticatorPrivate()
: method(None)
#ifdef Q_OS_WIN
, ntlmWindowsHandles(0)
#endif
, hasFailed(false)
, phase(Start)
, nonceCount(0)
#ifdef Q_OS_WIN32
, ntlmWindowsHandles(0)
#endif
{
cnonce = QCryptographicHash::hash(QByteArray::number(qrand(), 16) + QByteArray::number(qrand(), 16),
QCryptographicHash::Md5).toHex();

View File

@ -80,7 +80,7 @@ public:
Method method;
QString realm;
QByteArray challenge;
#ifdef Q_OS_WIN32
#ifdef Q_OS_WIN
QNtlmWindowsHandles *ntlmWindowsHandles;
#endif
bool hasFailed; //credentials have been tried but rejected by server.