mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Lint code
This commit is contained in:
parent
e36b090c5b
commit
0edd75949b
1 changed files with 3 additions and 1 deletions
|
@ -339,7 +339,9 @@ TimelineViewManager::toggleCameraView()
|
|||
void
|
||||
TimelineViewManager::openImageOverlay(QString mxcUrl, QString eventId) const
|
||||
{
|
||||
if (mxcUrl.isEmpty() || mxcUrl.isNull()) { return; }
|
||||
if (mxcUrl.isEmpty() || mxcUrl.isNull()) {
|
||||
return;
|
||||
}
|
||||
QQuickImageResponse *imgResponse =
|
||||
imgProvider->requestImageResponse(mxcUrl.remove("mxc://"), QSize());
|
||||
connect(imgResponse, &QQuickImageResponse::finished, this, [this, eventId, imgResponse]() {
|
||||
|
|
Loading…
Reference in a new issue