diff options
author | kamathmanu <manuriddle@gmail.com> | 2020-11-30 14:56:39 -0500 |
---|---|---|
committer | kamathmanu <manuriddle@gmail.com> | 2020-11-30 14:56:39 -0500 |
commit | 0edd75949b07ba9753d0c9a416d33318c1d0f8e1 (patch) | |
tree | 380231713b975fd76dfaf50d8fb74725e49af991 /src/timeline | |
parent | Add support for viewing avatar images in full size (diff) | |
download | nheko-0edd75949b07ba9753d0c9a416d33318c1d0f8e1.tar.xz |
Lint code
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/TimelineViewManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp index 6da8528e..655e6aa7 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp @@ -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]() { |