summary refs log tree commit diff
path: root/src/Utils.h
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-03-01 19:45:16 -0500
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-17 19:18:06 +0100
commitfda6d7629a7ebbcd1201a16e1be2bc21b1ca7dd9 (patch)
tree26efa61f01a0a4f2426c5b4132c166beac49bf0d /src/Utils.h
parentSimplify regex (diff)
downloadnheko-fda6d7629a7ebbcd1201a16e1be2bc21b1ca7dd9.tar.xz
Switch readImage to take a reference instead of a pointer
There was nowhere that an actual pointer was passed, and I wanted to do references for something else.
Diffstat (limited to 'src/Utils.h')
-rw-r--r--src/Utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.h b/src/Utils.h
index 1dc5ffd6..eb09172e 100644
--- a/src/Utils.h
+++ b/src/Utils.h
@@ -309,7 +309,7 @@ restoreCombobox(QComboBox *combo, const QString &value);
 
 //! Read image respecting exif orientation
 QImage
-readImage(const QByteArray *data);
+readImage(const QByteArray &data);
 
 bool
 isReply(const mtx::events::collections::TimelineEvents &e);