summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorkamathmanu <manuriddle@gmail.com>2020-11-30 14:56:39 -0500
committerkamathmanu <manuriddle@gmail.com>2020-11-30 14:56:39 -0500
commit0edd75949b07ba9753d0c9a416d33318c1d0f8e1 (patch)
tree380231713b975fd76dfaf50d8fb74725e49af991 /src
parentAdd support for viewing avatar images in full size (diff)
downloadnheko-0edd75949b07ba9753d0c9a416d33318c1d0f8e1.tar.xz
Lint code
Diffstat (limited to 'src')
-rw-r--r--src/timeline/TimelineViewManager.cpp4
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]() {