Fix fail to build for older version of Qt

This commit is contained in:
joshua
2022-02-01 11:29:06 +01:00
parent 826991e6d6
commit 9cb86a7e54

View File

@@ -105,7 +105,7 @@ void TerminalStripBridge::fromXml(const QDomElement &dom_element)
return;
}
m_uuid.fromString(dom_element.attribute(QStringLiteral("uuid"), m_uuid.toString()));
m_uuid = QUuid(dom_element.attribute(QStringLiteral("uuid"), m_uuid.toString()));
m_color.setNamedColor(dom_element.attribute(QStringLiteral("color")));
const auto real_t_vector = QETXML::subChild(dom_element,