summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 40c16fd3..4d24c786 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -689,10 +689,10 @@ utils::restoreCombobox(QComboBox *combo, const QString &value) } QImage -utils::readImage(const QByteArray *data) +utils::readImage(const QByteArray &data) { QBuffer buf; - buf.setData(*data); + buf.setData(data); QImageReader reader(&buf); reader.setAutoTransform(true); return reader.read();