Less verbosity: commented lots of QDebugs

This commit is contained in:
Albert Vaca 2013-09-09 18:28:52 +02:00
parent 158e32adcf
commit 8e295ee364

View file

@ -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();
}