Replace Quotient::Connection with NeoChatConnection where possible

(cherry picked from commit 1e644587b3)
This commit is contained in:
Tobias Fella
2024-04-23 11:31:30 +02:00
parent 6a627dfff0
commit 9e45f22e09
38 changed files with 83 additions and 95 deletions

View File

@@ -35,7 +35,7 @@ private:
QSize requestedSize;
const QString localFile;
Quotient::MediaThumbnailJob *job = nullptr;
NeoChatConnection *m_connection;
QPointer<NeoChatConnection> m_connection;
QImage image;
QString errorStr;
@@ -75,6 +75,6 @@ public:
QQuickImageResponse *requestImageResponse(const QString &id, const QSize &requestedSize) override;
private:
NeoChatConnection *m_connection = nullptr;
QPointer<NeoChatConnection> m_connection;
MatrixImageProvider() = default;
};