1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-14 22:42:34 +02:00

Fix cpp formatting

This commit is contained in:
Elias Steurer 2021-01-16 17:59:42 +01:00
parent 4d37a513e4
commit 6a3872fb2a
2 changed files with 3 additions and 2 deletions

View File

@ -244,7 +244,8 @@ bool CreateImportVideo::analyzeWebmReadFrames(const QJsonObject& obj)
// If the video is to short
m_smallVideo = m_numberOfFrames < (m_framerate * 5);
m_length = std::ceil(m_numberOfFrames / m_framerate); ;
m_length = std::ceil(m_numberOfFrames / m_framerate);
qInfo() << m_numberOfFrames << m_framerate << m_smallVideo << m_length;
return true;
}

View File

@ -78,7 +78,7 @@ void ScreenPlaySDK::disconnected()
void ScreenPlaySDK::readyRead()
{
QString tmp = m_socket.readAll();
QJsonParseError err{};
QJsonParseError err {};
auto doc = QJsonDocument::fromJson(QByteArray::fromStdString(tmp.toStdString()), &err);
if (!(err.error == QJsonParseError::NoError)) {