1
0
mirror of https://github.com/qt/qtmqtt.git synced 2026-10-25 16:16:26 +00:00
Second argument is superfluous in this case.

Change-Id: Id0b5444741375000929d26ea8567ba85b33f2ba7
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
This commit is contained in:
Maurice Kalinowski 2017-11-13 10:44:33 +01:00
parent 70b7ee03c5
commit 6a6acf7edf

View File

@ -675,9 +675,9 @@ QMqttClientPrivate::QMqttClientPrivate(QMqttClient *c)
{
m_client = c;
m_clientId = QUuid::createUuid().toString();
m_clientId.remove(QLatin1Char('{'), Qt::CaseInsensitive);
m_clientId.remove(QLatin1Char('}'), Qt::CaseInsensitive);
m_clientId.remove(QLatin1Char('-'), Qt::CaseInsensitive);
m_clientId.remove(QLatin1Char('{'));
m_clientId.remove(QLatin1Char('}'));
m_clientId.remove(QLatin1Char('-'));
m_clientId.resize(23);
}