summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r--common/resourceaccess.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp
index ad8cae9..808d892 100644
--- a/common/resourceaccess.cpp
+++ b/common/resourceaccess.cpp
@@ -477,7 +477,7 @@ void ResourceAccess::connected()
477 477
478 { 478 {
479 flatbuffers::FlatBufferBuilder fbb; 479 flatbuffers::FlatBufferBuilder fbb;
480 auto name = fbb.CreateString(QString("PID: %1 ResourceAccess: %2").arg(QCoreApplication::applicationPid()).arg(reinterpret_cast<qlonglong>(this)).toLatin1()); 480 auto name = fbb.CreateString(QString("PID: %1 ResourceAccess: %2").arg(QCoreApplication::applicationPid()).arg(reinterpret_cast<qlonglong>(this)).toLatin1().toStdString());
481 auto command = Sink::Commands::CreateHandshake(fbb, name); 481 auto command = Sink::Commands::CreateHandshake(fbb, name);
482 Sink::Commands::FinishHandshakeBuffer(fbb, command); 482 Sink::Commands::FinishHandshakeBuffer(fbb, command);
483 Commands::write(d->socket.data(), ++d->messageId, Commands::HandshakeCommand, fbb); 483 Commands::write(d->socket.data(), ++d->messageId, Commands::HandshakeCommand, fbb);
@@ -547,6 +547,8 @@ static Sink::Notification getNotification(const Sink::Commands::Notification *bu
547 } 547 }
548 n.type = buffer->type(); 548 n.type = buffer->type();
549 n.code = buffer->code(); 549 n.code = buffer->code();
550 n.progress = buffer->progress();
551 n.total = buffer->total();
550 n.entities = BufferUtils::fromVector(*buffer->entities()); 552 n.entities = BufferUtils::fromVector(*buffer->entities());
551 return n; 553 return n;
552} 554}