Reset position for decoded answer when passed as failure response
This commit is contained in:
parent
ac84fe079e
commit
38d5a95982
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ void PrinterWorker::print2(QString filename, QString mimeType, QString targetFor
|
|||
}
|
||||
else
|
||||
{
|
||||
resData.setPos(0);
|
||||
QMetaObject::invokeMethod(_printer, "printRequestFinished", Qt::QueuedConnection,
|
||||
Q_ARG(CURLcode, res),
|
||||
Q_ARG(Bytestream, resData));
|
||||
|
|
Loading…
Reference in a new issue