diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-03 14:02:27 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-03 14:02:27 +0200 |
commit | 55fe06979ceebe67553135b43aa47e70d931304b (patch) | |
tree | 16b10a744879cc1872d6c07624b59ae64469ddbf /common/resourceaccess.cpp | |
parent | 56fae95f49a1ca8ca614bd9f89b0ea5f872765e9 (diff) | |
parent | 288946f1694c2abe1d2c5800c87339d1e8780e4b (diff) | |
download | sink-55fe06979ceebe67553135b43aa47e70d931304b.tar.gz sink-55fe06979ceebe67553135b43aa47e70d931304b.zip |
Merge branch 'develop'
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r-- | common/resourceaccess.cpp | 4 |
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 | } |