Use QLatin1Char

This commit is contained in:
Nicolas Fella 2019-02-03 01:30:18 +01:00
parent 8f31862098
commit 0b92f73976

View file

@ -135,7 +135,7 @@ bool ContactsPlugin::handleResponseUIDsTimestamps (const NetworkPacket& np) {
if (!line.startsWith("X-KDECONNECT-TIMESTAMP:")) { if (!line.startsWith("X-KDECONNECT-TIMESTAMP:")) {
continue; continue;
} }
QStringList parts = line.split(":"); QStringList parts = line.split(QLatin1Char(':'));
QString timestamp = parts[1]; QString timestamp = parts[1];
qint32 remoteTimestamp = np.get<qint32>(ID); qint32 remoteTimestamp = np.get<qint32>(ID);