mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Port to Qt6, wrap in QByteArrayView
GIT_SILENT Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
e7d9ecaa3a
commit
5264255af2
|
@ -115,7 +115,7 @@ QtLocalPeer::QtLocalPeer(QObject* parent, const QString &appId)
|
|||
prefix.truncate(6);
|
||||
|
||||
QByteArray idc = id.toUtf8();
|
||||
quint16 idNum = qChecksum(idc.constData(), idc.size());
|
||||
quint16 idNum = qChecksum(QByteArrayView(idc.constData(), idc.size()));
|
||||
socketName = QLatin1String("qtsingleapp-") + prefix
|
||||
+ QLatin1Char('-') + QString::number(idNum, 16);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user