Commit 0ad245f4 authored by Andrius Štikonas's avatar Andrius Štikonas
Browse files

Put the close function where it's actually always called.

parent 6cc3bddd
Pipeline #196228 passed with stage
in 2 minutes and 53 seconds
......@@ -327,10 +327,10 @@ QByteArray ExternalCommandHelper::ReadData(const QString& device, const qint64 o
bool rval =, QIODevice::ReadOnly | QIODevice::Unbuffered);
rval = rval && readData(sourceDevice, buffer, offset, length);
if (rval) {
return buffer;
return QByteArray();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment