fear: add copy version

This commit is contained in:
semenov
2024-12-20 12:00:26 +03:00
parent c48831b77e
commit 7e13c6dc5d
57 changed files with 1402 additions and 68 deletions

View File

@@ -149,13 +149,13 @@ void SendSystem::sendChangeVersion(StreamingVersionData* streamingVersion)
socket->waitForReadyRead(100);
}
void SendSystem::sendCopyVersion(StreamingVersionData *streamingVersion)
void SendSystem::sendCopyVersion(QString streamingVersion)
{
QDataStream stream(socket);
stream.setVersion(QDataStream::Qt_DefaultCompiledVersion);
stream << PacketType::COPY_VERSION;
stream << streamingVersion->getViewName();
stream << streamingVersion;
}
SendSystem::~SendSystem()