Unbork job settings

This commit is contained in:
Anton Thomasson 2020-04-30 22:00:42 +02:00
parent 9f50c1b393
commit 0e038759cf

View file

@ -197,7 +197,7 @@ QByteArray IppMsg::encode(Operation op)
ipp << encode_attr(val["tag"].toInt(), it.key(), val["value"]); ipp << encode_attr(val["tag"].toInt(), it.key(), val["value"]);
} }
} }
for(QJsonArray::iterator ait = _jobAttrs.begin(); ait != _jobAttrs.begin(); ait++) for(QJsonArray::iterator ait = _jobAttrs.begin(); ait != _jobAttrs.end(); ait++)
{ {
ipp << quint8(2); ipp << quint8(2);
QJsonObject tmpObj = ait->toObject(); QJsonObject tmpObj = ait->toObject();