Port away from QString::null
This commit is contained in:
parent
f765ffb186
commit
8f1660d580
2 changed files with 2 additions and 2 deletions
|
@ -108,7 +108,7 @@ void LanDeviceLink::dataReceived()
|
|||
if (m_socketLineReader->bytesAvailable() == 0) return;
|
||||
|
||||
const QByteArray serializedPacket = m_socketLineReader->readLine();
|
||||
NetworkPacket packet(QString::null);
|
||||
NetworkPacket packet(QString{});
|
||||
NetworkPacket::unserialize(serializedPacket, &packet);
|
||||
|
||||
//qCDebug(KDECONNECT_CORE) << "LanDeviceLink dataReceived" << serializedPacket;
|
||||
|
|
|
@ -35,7 +35,7 @@ QString LoopbackDeviceLink::name()
|
|||
|
||||
bool LoopbackDeviceLink::sendPacket(NetworkPacket& input)
|
||||
{
|
||||
NetworkPacket output(QString::null);
|
||||
NetworkPacket output(QString{});
|
||||
NetworkPacket::unserialize(input.serialize(), &output);
|
||||
|
||||
//LoopbackDeviceLink does not need deviceTransferInfo
|
||||
|
|
Loading…
Reference in a new issue