Commit 8e295ee3 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora

Less verbosity: commented lots of QDebugs

parent 158e32ad
......@@ -90,7 +90,6 @@ QByteArray NetworkPackage::serialize() const
bool NetworkPackage::unserialize(const QByteArray& a, NetworkPackage* np)
{
//qDebug() << "Unserialize: " << a;
//Json -> QVariant
QJson::Parser parser;
......@@ -102,12 +101,14 @@ bool NetworkPackage::unserialize(const QByteArray& a, NetworkPackage* np)
}
//QVariant -> Object
QJson::QObjectHelper::qvariant2qobject(variant,np);
QJson::QObjectHelper::qvariant2qobject(variant, np);
if (!np->isEncrypted()) {
//qDebug() << "Serialized package:" << a;
}
if (variant.contains("payloadTransferInfo")) {
if (!np->isEncrypted()) {
//qDebug() << "Unserializing payloadTransferInfo";
}
//qDebug() << "Unserializing payloadTransferInfo";
np->mPayloadTransferInfo = variant["payloadTransferInfo"].toMap();
}
......
Markdown is supported
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