diff options
author | Alessandro Portale <alessandro.portale@digia.com> | 2014-09-09 15:18:54 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2014-10-09 09:43:26 +0200 |
commit | 106487387d493dab934e19b33bfed55b8df62d67 (patch) | |
tree | ac2dfad985759a609454179082de9f7e97e1b73d /tests/manual/qnetworkreply | |
parent | e5f528fb0ea09ec839853575c1154f9101303a84 (diff) |
Removing a few unneeded "? true : false"
Change-Id: Ib13f0ddd65fe78f5559f343f2fc30756b1d3ef76
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'tests/manual/qnetworkreply')
-rw-r--r-- | tests/manual/qnetworkreply/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/manual/qnetworkreply/main.cpp b/tests/manual/qnetworkreply/main.cpp index f3bbd0887f..9d199c3755 100644 --- a/tests/manual/qnetworkreply/main.cpp +++ b/tests/manual/qnetworkreply/main.cpp @@ -381,8 +381,7 @@ void tst_qnetworkreply::spdy() QFETCH(QByteArray, expectedProtocol); - bool expectedSpdyUsed = (expectedProtocol == QSslConfiguration::NextProtocolSpdy3_0) - ? true : false; + bool expectedSpdyUsed = (expectedProtocol == QSslConfiguration::NextProtocolSpdy3_0); QCOMPARE(reply->attribute(QNetworkRequest::SpdyWasUsedAttribute).toBool(), expectedSpdyUsed); QCOMPARE(metaDataChangedSpy.count(), 1); |