Lint code
This commit is contained in:
parent
e36b090c5b
commit
0edd75949b
@ -339,7 +339,9 @@ TimelineViewManager::toggleCameraView()
|
|||||||
void
|
void
|
||||||
TimelineViewManager::openImageOverlay(QString mxcUrl, QString eventId) const
|
TimelineViewManager::openImageOverlay(QString mxcUrl, QString eventId) const
|
||||||
{
|
{
|
||||||
if (mxcUrl.isEmpty() || mxcUrl.isNull()) { return; }
|
if (mxcUrl.isEmpty() || mxcUrl.isNull()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
QQuickImageResponse *imgResponse =
|
QQuickImageResponse *imgResponse =
|
||||||
imgProvider->requestImageResponse(mxcUrl.remove("mxc://"), QSize());
|
imgProvider->requestImageResponse(mxcUrl.remove("mxc://"), QSize());
|
||||||
connect(imgResponse, &QQuickImageResponse::finished, this, [this, eventId, imgResponse]() {
|
connect(imgResponse, &QQuickImageResponse::finished, this, [this, eventId, imgResponse]() {
|
||||||
|
Loading…
Reference in New Issue
Block a user