Commit 6a3872fb authored by Elias Steurer's avatar Elias Steurer 🇩🇪

Fix cpp formatting

parent 4d37a513
Pipeline #242611225 passed with stages
in 19 minutes and 33 seconds
......@@ -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;
}
......
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment