Fix some deprecation.

This commit is contained in:
Black
2020-07-28 20:33:32 -07:00
parent 675ec40a63
commit d6009479a5
3 changed files with 8 additions and 7 deletions

View File

@@ -56,7 +56,7 @@ class MatrixImageProvider : public QObject, public QQuickAsyncImageProvider {
Quotient::Connection* connection() { return m_connection; }
void setConnection(Quotient::Connection* connection) {
m_connection.store(connection);
m_connection.storeRelaxed(connection);
emit connectionChanged();
}