mirror of
https://github.com/qt/qtmqtt.git
synced 2026-10-25 16:16:26 +00:00
Clean up
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:
parent
70b7ee03c5
commit
6a6acf7edf
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user