QSslContext: to represent a bool, use a bool, not an int

Change-Id: I2c2f5072302d2989362a382bd24cc10617336acf
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
bb10
Giuseppe D'Angelo 2014-09-03 11:11:54 +02:00
parent f849583e84
commit ca1aa81c97
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ init_context:
// Initialize ciphers
QByteArray cipherString;
int first = true;
bool first = true;
QList<QSslCipher> ciphers = sslContext->sslConfiguration.ciphers();
if (ciphers.isEmpty())
ciphers = QSslSocketPrivate::defaultCiphers();