summaryrefslogtreecommitdiffstats
path: root/client/resourceaccess.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/resourceaccess.cpp')
-rw-r--r--client/resourceaccess.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/client/resourceaccess.cpp b/client/resourceaccess.cpp
index 641c203..6f1e114 100644
--- a/client/resourceaccess.cpp
+++ b/client/resourceaccess.cpp
@@ -72,11 +72,11 @@ void ResourceAccess::connected()
72 log(QString("Connected: ").arg(m_socket->fullServerName())); 72 log(QString("Connected: ").arg(m_socket->fullServerName()));
73 73
74 { 74 {
75 flatbuffers::FlatBufferBuilder fbb; 75 auto name = m_fbb.CreateString(QString::number((long long)this).toLatin1());
76 auto name = fbb.CreateString(QString::number((long long)this).toLatin1()); 76 auto command = Akonadi::CreateHandshake(m_fbb, name);
77 auto command = Akonadi::CreateHandshake(fbb, name); 77 Akonadi::FinishHandshakeBuffer(m_fbb, command);
78 Akonadi::FinishHandshakeBuffer(fbb, command); 78 Commands::write(m_socket, Commands::HandshakeCommand, m_fbb);
79 Commands::write(m_socket, Commands::HandshakeCommand, fbb); 79 m_fbb.Clear();
80 } 80 }
81 81
82 emit ready(true); 82 emit ready(true);