From fda6d7629a7ebbcd1201a16e1be2bc21b1ca7dd9 Mon Sep 17 00:00:00 2001 From: Loren Burkholder Date: Mon, 1 Mar 2021 19:45:16 -0500 Subject: 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. --- src/Utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Utils.h') 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); -- cgit 1.4.1