fear: add copy version

This commit is contained in:
semenov
2024-12-20 12:00:26 +03:00
parent 3651753d2a
commit 5ff01737d9
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()