Don't abandon job when image request is cancelled
Aborting the request causes a lot of logged messages. In theory, not stopping the job causes some overhead, but that's negligible and the provider is on its way out anyway.
This commit is contained in:
@@ -25,7 +25,6 @@ public:
|
||||
private Q_SLOTS:
|
||||
void startRequest();
|
||||
void prepareResult();
|
||||
void doCancel();
|
||||
|
||||
private:
|
||||
const QString mediaId;
|
||||
@@ -39,7 +38,6 @@ private:
|
||||
|
||||
QQuickTextureFactory *textureFactory() const override;
|
||||
QString errorString() const override;
|
||||
void cancel() override;
|
||||
};
|
||||
|
||||
class MatrixImageProvider : public QQuickAsyncImageProvider
|
||||
|
||||
Reference in New Issue
Block a user